Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix(Popup): Do not stop propagation when pressing Esc on trigger element#750

Merged
sophieH29 merged 2 commits intomasterfrom
fix/popup-do-not-stop-propagation-on-esc
Jan 21, 2019
Merged

fix(Popup): Do not stop propagation when pressing Esc on trigger element#750
sophieH29 merged 2 commits intomasterfrom
fix/popup-do-not-stop-propagation-on-esc

Conversation

@sophieH29
Copy link
Contributor

@sophieH29 sophieH29 commented Jan 21, 2019

Bug reported:

  • Chat Message with popover prototype (keyboard nav):

Fix:
There shouldn't be e.stopPropagation for close action in Popup component. e.stopPropagation was added initially for closeAndFocusTrigger actions based on reasons described in this PR #515, but it wasn't needed when pressing Esc just on trigger button, what was added here #622

@sophieH29 sophieH29 merged commit 0fd14dc into master Jan 21, 2019
@sophieH29 sophieH29 deleted the fix/popup-do-not-stop-propagation-on-esc branch January 21, 2019 11:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🧰 fix Introduces fix for broken behavior. 🚀 ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants