onClick event not appearing in DOM
Hi I have my Popup component as child to my Modal component. I would like to set an onClick event on my Popup component to stop propagation of the click event up to the Modal component.
However, the click event does not appear in the DOM at all. I have no clue how to debug this. Does anybody know what is going on?
My Popup component:
My Modal component:
4 Replies
Solid uses deferred events. Just set a breakpoint in the handler.
the handler doesn't run at all
https://playground.solidjs.com/anonymous/ebdab22a-2b62-44a5-aa3b-9c8e9bf9dad0
solid's delegated events wouldn't have a chance to run at all, if the modal onclick removes the node
i see thank you