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.

Thanks!

2 Likes

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

Is there any new updates? I am looking for a workaround with javascript because this is a big issue for me, but what I’m doing now doesn’t seem to work. Does anybody have insight?