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: allow focus rings on pointer coarse devices #7704

Merged
merged 4 commits into from
Aug 29, 2024
Merged

Conversation

FrediWa
Copy link
Contributor

@FrediWa FrediWa commented Aug 28, 2024

Description

Basically just changes the CSS selectors that remove focus related styles on pointer: coarse to only work when the parent month-calendar does not have the focus-ring attribute. In other words, do not hide the focus ring when the user is keyboard navigating on a touch device.

Fixes #6381

Type of change

  • Bugfix

Copy link

@FrediWa FrediWa marked this pull request as ready for review August 29, 2024 08:06
@FrediWa FrediWa merged commit 5824618 into main Aug 29, 2024
9 checks passed
@FrediWa FrediWa deleted the fix/touch-focus-ring branch August 29, 2024 08:43
vaadin-bot pushed a commit that referenced this pull request Aug 29, 2024
* allow focus rings on pointer coarse devices

* change CSS selectors

* change order of selectors

* fix dumb mistake
vaadin-bot pushed a commit that referenced this pull request Aug 29, 2024
* allow focus rings on pointer coarse devices

* change CSS selectors

* change order of selectors

* fix dumb mistake
web-padawan pushed a commit that referenced this pull request Aug 29, 2024
* allow focus rings on pointer coarse devices

* change CSS selectors

* change order of selectors

* fix dumb mistake
web-padawan pushed a commit that referenced this pull request Aug 29, 2024
Co-authored-by: Fredi Wasström <fredrik.wasstrom@gmail.com>
web-padawan pushed a commit that referenced this pull request Aug 29, 2024
* allow focus rings on pointer coarse devices

* change CSS selectors

* change order of selectors

* fix dumb mistake
web-padawan pushed a commit that referenced this pull request Aug 29, 2024
Co-authored-by: Fredi Wasström <fredrik.wasstrom@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha13 and is also targeting the upcoming stable 24.5.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.

Item focus rings not rendered on touch devices
3 participants