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

Prevent default for ESC in modal.js #22398

Merged
merged 1 commit into from
Apr 9, 2017
Merged

Prevent default for ESC in modal.js #22398

merged 1 commit into from
Apr 9, 2017

Conversation

patrickhlauke
Copy link
Member

ESC can be used to close modals, but on OS X/macOS this also jumps out
of full-screen mode. preventDefault suppresses this.

Closes #22362

ESC can be used to close modals, but on OS X/macOS this also jumps out
of full-screen mode. `preventDefault` suppresses this.
@patrickhlauke patrickhlauke added this to the v4.0.0-beta milestone Apr 9, 2017
@mdo
Copy link
Member

mdo commented Apr 9, 2017

OS X/macOS this also jumps out of full-screen mode.

Holy shit thank you, I hate when this happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants