Is it possible to tell an OverlayContainer to render the overlay at the end of an iframe
's document
?
#2211
-
it seems that currently the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're in the iframe, then that's where it'll be appended, you can't render anything outside. If you're outside, then you can't render anything inside. That's the point of an iframe. If you control both though, you could send a post message to tell the iframe to render something in itself. |
Beta Was this translation helpful? Give feedback.
If you're in the iframe, then that's where it'll be appended, you can't render anything outside. If you're outside, then you can't render anything inside. That's the point of an iframe. If you control both though, you could send a post message to tell the iframe to render something in itself.
I think maybe you meant something different though and what you're looking for is this
react-spectrum/packages/@react-aria/overlays/src/useModal.tsx
Line 114 in ab3c350