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): prevent bubbling on ESC on inactive #2313

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Apr 16, 2019

Fixes #2312.

Changelog

Changed

  • A change to prevent event.stopPropagation() from running upon ESC key when modal is not open.

Testing / Reviewing

Testing should make sure our modal is not broken.

@netlify
Copy link

netlify bot commented Apr 16, 2019

Deploy preview for the-carbon-components ready!

Built with commit f183777

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

Copy link
Collaborator

@tw15egan tw15egan 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 👍

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!

@asudoh asudoh merged commit ceed10d into carbon-design-system:master Apr 17, 2019
@asudoh asudoh deleted the modal-esc-event-bubbling branch April 17, 2019 22:44
@vpicone vpicone mentioned this pull request Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modal traps keydown event for esc key for the whole document
4 participants