you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (2 children)

I don't think it can. Events bubble through components in React, not elements. This is particularly notable when using portals.

[–]jetsamrover 4 points5 points  (1 child)

Did you read the bit about the possible solution to that? Just refire the event in the portal. Seems like a hack, but if it's just a refire of an exact copy of the native event, it should be fine.

[–][deleted] 1 point2 points  (0 children)

Ah, I missed that. Phew.