-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: set shortcut listener to modal only if owner is child (#13272)
The previous fix for #13205 (PR #13263) moved all shortcut registration event sources from UI to the modal component if one was active; this caused shortcuts owned by components not under the modal tree to also be moved if they were registered when a modal component was active, and hence they stopped working when the modal component tree was removed. This modifies the previous fix to only change the event source if the shortcut owner is under the an active modal tree.
- Loading branch information
Johannes Eriksson
authored
Mar 11, 2022
1 parent
428e7bc
commit 4b10fd4
Showing
4 changed files
with
81 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters