Black Lives Matter. Please consider donating to Black Girls Code today.

Stop propagation for n_clicks?

Hi, is there any way to stop the propagation of n_clicks up the DOM? I have n_clicks callbacks set for nested elements in a table, for example on tr and td. I wanted it so that for certain cells, the user could click and invoke a special behavior but not lead to further callbacks from tr.


Good question. This isn’t possible now, but it sounds like stopPropagation should be the default behaviour.

Is there any update on this? It seems like stopPropogation is not in fact the default behavior