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 focusing date-picker input using keyboard on fullscreen #7577

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Jul 22, 2024

Description

Fixes vaadin/flow-components#4809

Updated the date-picker logic to allow focusing with keyboard when _noInput flag is set due to fullscreen mdoe.
This way we make it possible to focus the date-picker on narrow screens or when applying zoom.

Can be tested e.g. by resizing a browser width to 600px and zooming to 150% (so that width changes to 400px).

Type of change

  • Bugfix

@web-padawan web-padawan marked this pull request as ready for review July 22, 2024 11:03
@web-padawan web-padawan marked this pull request as draft July 22, 2024 11:31
@web-padawan web-padawan changed the title fix: allow focusing date-picker input in desktop fullscreen fix: allow focusing date-picker input using keyboard on fullscreen Jul 24, 2024
@web-padawan web-padawan force-pushed the fix/date-picker-fullscreen-focus branch from dc22053 to 278d07d Compare July 24, 2024 07:35
@web-padawan web-padawan marked this pull request as ready for review July 24, 2024 07:36
@web-padawan web-padawan force-pushed the fix/date-picker-fullscreen-focus branch from 278d07d to 7c8ef66 Compare July 24, 2024 07:37
@web-padawan web-padawan force-pushed the fix/date-picker-fullscreen-focus branch from 7c8ef66 to cf6f1ee Compare July 24, 2024 07:42
Copy link

sonarcloud bot commented Jul 24, 2024

@web-padawan web-padawan removed the request for review from vursen July 24, 2024 10:03
@web-padawan web-padawan merged commit 2e5bf2a into main Jul 24, 2024
8 checks passed
@web-padawan web-padawan deleted the fix/date-picker-fullscreen-focus branch July 24, 2024 10:04
web-padawan added a commit that referenced this pull request Jul 24, 2024
web-padawan added a commit that referenced this pull request Jul 24, 2024
@vaadin-bot
Copy link
Collaborator

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

This was referenced Aug 29, 2024
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.

date picker cannot be focused with TAB key when zoom-in 400%
3 participants