-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(Modal): click-outside by mousedown #3014
fix(Modal): click-outside by mousedown #3014
Conversation
Deploy preview for the-carbon-components ready! Built with commit 6f5296b https://deploy-preview-3014--the-carbon-components.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 6f5296b |
Deploy preview for carbon-components-react ready! Built with commit 6f5296b https://deploy-preview-3014--carbon-components-react.netlify.com |
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.
looks good to me! React netlify build is not deploying so tested locally
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.
good fix!
* fix(ComposedModal): port mousedown changes from pr #3014 * chore(ContributorList): adding myself to contributor list * Revert "chore(ContributorList): adding myself to contributor list" This reverts commit 77a7c12. * chore(ContributorList): add myself to contributor list --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: TJ Egan <tw15egan@gmail.com>
…em#3014 (carbon-design-system#13140) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
…-system#13160) * fix(ComposedModal): port mousedown changes from pr carbon-design-system#3014 * chore(ContributorList): adding myself to contributor list * Revert "chore(ContributorList): adding myself to contributor list" This reverts commit 77a7c12. * chore(ContributorList): add myself to contributor list --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: TJ Egan <tw15egan@gmail.com>
Fixes #2968.
Changelog
Changed
mousedown
instead ofclick
event for "close-on-click-outside" behavior.Testing / Reviewing
Testing should make sure modal is not broken.