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

[date-time-picker] Allow clicking into the opposite picker when one of them is open [2 days] #6407

Open
vursen opened this issue Aug 24, 2023 · 0 comments · May be fixed by #6785
Open

[date-time-picker] Allow clicking into the opposite picker when one of them is open [2 days] #6407

vursen opened this issue Aug 24, 2023 · 0 comments · May be fixed by #6785
Labels
enhancement New feature or request UX User experience issue vaadin-date-time-picker

Comments

@vursen
Copy link
Contributor

vursen commented Aug 24, 2023

Describe your motivation

As long as the date-picker is open, you cannot click into the time-picker, and vice versa. The reason is that both picker dropdowns open in modal mode, which causes any click on the opposite picker to be treated as a click outside of the entire date-time-picker. This results in quite inconvenient UX, as switching between the pickers always requires 2 clicks.

Screen.Recording.2023-08-24.at.16.54.47.mov

Describe the solution you'd like

A possible solution could involve adding pointer-events: auto on the entire date-time-picker when one of its child pickers is open. This would counteract pointer-events: none applied to the body element.

Prototype: https://github.com/vaadin/web-components/compare/feat/allow-switching-between-pickers-when-opened

Describe alternatives you've considered

No response

Additional context

No response

@vursen vursen added enhancement New feature or request vaadin-date-time-picker UX User experience issue labels Aug 24, 2023
@yuriy-fix yuriy-fix changed the title [date-time-picker] Allow clicking into the opposite picker when one of them is open [date-time-picker] Allow clicking into the opposite picker when one of them is open [2 days] Aug 30, 2023
@vursen vursen linked a pull request Nov 14, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UX User experience issue vaadin-date-time-picker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant