Open
Description
Currently, appElement
is expected to be an instance of window.HTMLElement
.
But, when the Modal
is rendered inside an iframe
, the iframe's window.HTMLElement
is a different instance causing the following warning:
Failed prop type: Invalid prop
appElement
supplied toModal
.
See: Codesandbox
What's the best to workaround this?