Skip to content
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

Merged
merged 2 commits into from
Jun 12, 2019

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Jun 11, 2019

Fixes #2968.

Changelog

Changed

  • Use mousedown instead of click event for "close-on-click-outside" behavior.

Testing / Reviewing

Testing should make sure modal is not broken.

@netlify
Copy link

netlify bot commented Jun 11, 2019

Deploy preview for the-carbon-components ready!

Built with commit 6f5296b

https://deploy-preview-3014--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Jun 11, 2019

Deploy preview for carbon-elements ready!

Built with commit 6f5296b

https://deploy-preview-3014--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Jun 11, 2019

Deploy preview for carbon-components-react ready!

Built with commit 6f5296b

https://deploy-preview-3014--carbon-components-react.netlify.com

Copy link
Member

@emyarod emyarod left a 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

Copy link
Contributor

@lovemecomputer lovemecomputer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good fix!

@asudoh asudoh merged commit bb01adc into carbon-design-system:master Jun 12, 2019
@asudoh asudoh deleted the click-outside-by-mousedown branch June 12, 2019 00:28
joshblack pushed a commit to joshblack/carbon that referenced this pull request Jun 12, 2019
emyarod pushed a commit to emyarod/carbon that referenced this pull request Jun 18, 2019
kcprevatt added a commit to kcprevatt/carbon that referenced this pull request Feb 13, 2023
kodiakhq bot added a commit that referenced this pull request Feb 15, 2023
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
kodiakhq bot added a commit that referenced this pull request Feb 16, 2023
* 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>
remolueoend pushed a commit to remolueoend/carbon that referenced this pull request Feb 17, 2023
…em#3014 (carbon-design-system#13140)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
remolueoend pushed a commit to remolueoend/carbon that referenced this pull request Feb 17, 2023
…-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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModalWrapper closing when dragging cursor out of modal
5 participants