Skip to content

Popover above an iFrame in React #2596

Answered by atomiks
CarlOfHoly asked this question in Q&A
Discussion options

You must be logged in to vote

Use FloatingOverlay so clicks are detected on that layer instead of arbitrary layers behind it. Outside clicks can't be detected inside sub-documents since the event doesn't bubble up to the one useDismiss attached the listener to.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@CarlOfHoly
Comment options

@atomiks
Comment options

Answer selected by CarlOfHoly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants