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: prevent event bubbling when closing modals with escape key #22928

Merged
merged 1 commit into from Aug 2, 2023

Conversation

dbattersby
Copy link
Contributor

This change prevents event bubbling for the Escape key on all modals. Currently when we close the modal using the Escape key, all other event listeners attached will also be triggered (such as closing the chat drawer if it's open).

@dbattersby dbattersby merged commit 906bfde into main Aug 2, 2023
13 checks passed
@dbattersby dbattersby deleted the stop-propagation-when-escaping-d-modal branch August 2, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants