We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://codesandbox.io/p/sandbox/awesome-mountain-njbt9k?file=%2FREADME.md
<Dialog>
Events bubble through React Portals as per the docs
See facebook/react#11387
There should be a way to capture all events in Portals, preventing them from propagating to the rest of the DOM.
PortalProps
OverlayableProps
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment
Code Sandbox
https://codesandbox.io/p/sandbox/awesome-mountain-njbt9k?file=%2FREADME.md
Steps to reproduce
<Dialog>
on top of an interactive element.Actual behavior
Events bubble through React Portals as per the docs
See facebook/react#11387
Expected behavior
There should be a way to capture all events in Portals, preventing them from propagating to the rest of the DOM.
Possible solution
PortalProps
andOverlayableProps
to capture all events at the Portal and prevent them from bubbling up the treeThe text was updated successfully, but these errors were encountered: