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: stop propagation for grid Tab keydown #3480

Merged
merged 1 commit into from
Feb 22, 2022
Merged

Conversation

web-padawan
Copy link
Member

Description

Looks like the focus trap logic in vaadin-overlay messes up grid keyboard navigation.
This can be especially observed when moving focus to an element outside the grid.

Suggested fix is to call stopPropagation() for keydown event with Tab key.

Fixes vaadin/flow-components#1228

Type of change

  • Bugfix

@sonarcloud
Copy link

sonarcloud bot commented Feb 22, 2022

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@web-padawan web-padawan merged commit d040976 into master Feb 22, 2022
@web-padawan web-padawan deleted the fix/grid-keydown branch February 22, 2022 15:12
web-padawan added a commit that referenced this pull request Feb 22, 2022
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
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.

Grid with headers inside Dialog breaks tab navigation
4 participants