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: set shortcut listener to modal only if owner is child (#13272) (CP: 23.0) #13276

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

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.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 15 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

Unit Test Results

   945 files     945 suites   35m 56s ⏱️
6 150 tests 6 102 ✔️ 48 💤 0
6 364 runs  6 310 ✔️ 54 💤 0

Results for commit 0c790d3.

@joheriks joheriks merged commit 745af9c into 23.0 Mar 14, 2022
@joheriks joheriks deleted the cherry-pick-13272-to-23.0-1646989167940 branch March 14, 2022 07:43
@vaadin-bot
Copy link
Collaborator Author

This ticket/PR has been released with Vaadin 23.0.2.

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

Successfully merging this pull request may close these issues.

2 participants