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 year scroller from getting focused in Chrome #8174

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Nov 19, 2024

Description

Since Chrome 130, scrollable elements have become keyboard focusable by default. The PR prevents the date-picker year scroller from getting unexpectedly focused when navigating inside the overlay in Chrome.

Type of change

  • Bugfix

Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Looks like this was introduced in Chrome 130, see the related blog post.

Copy link

sonarcloud bot commented Nov 19, 2024

@web-padawan web-padawan merged commit c95003b into main Nov 19, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/disable-focusing-year-scroller branch November 19, 2024 11:01
vursen added a commit that referenced this pull request Nov 19, 2024
web-padawan pushed a commit that referenced this pull request Nov 19, 2024
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.6.0.beta1 and is also targeting the upcoming stable 24.6.0 version.

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.

3 participants