New issue
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
fix(ComposedModal): align handleMouseDown between Modal, ComposedModal #15934
fix(ComposedModal): align handleMouseDown between Modal, ComposedModal #15934
Conversation
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, looks like there is a minor merge conflict
ad1362c
Hey there! v11.55.0 was just released that references this issue/PR. |
carbon-design-system#15934) * fix(ComposedModal): align handleMouseDown between Modal, ComposedModal * test(ComposedModal): update snaps
Closes #15857
Fixes an issue preventing
selectorsFloatingMenus
from being used to prevent modal closures. Now aligned withModal
usage, and only runs ifpreventCloseOnClickOutside
is set to false.Changelog
Changed
handleMouseDown
usage betweenModal
andComposedModal
Testing / Reviewing
Ensure there are no regressions to
ComposedModal
and that portals do not close theComposedModal
if they are passed in toselectorsFloatingMenus