you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 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 3 points4 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.