You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Focusing a child picker with the mouse and subsequently focusing the opposite picker results in early validation, even though you are still interacting with the field.
I'd like to emphasize that using the mouse is key to reproducing the issue: early validation doesn't happen if you are moving focus inside the field with the keyboard.
Screen.Recording.2023-02-06.at.12.26.34.mov
Expected outcome
Regardless of the device you use to move focus (the keyboard or the mouse), there shouldn't be early validation. Otherwise, it may give you a wrong impression as if you've selected something wrong whereas it was simply a required check that failed because the field didn't have a value yet.
vursen
changed the title
[DateTimePicker] Moving focus between sub-fields with the mouse results in early validation
[date-time-picker] Moving focus between sub-fields with the mouse results in early validation
Feb 6, 2023
vursen
changed the title
[date-time-picker] Moving focus between sub-fields with the mouse results in early validation
[date-time-picker] Moving focus between the child pickers with the mouse results in early validation
Feb 6, 2023
Description
Focusing a child picker with the mouse and subsequently focusing the opposite picker results in early validation, even though you are still interacting with the field.
I'd like to emphasize that using the mouse is key to reproducing the issue: early validation doesn't happen if you are moving focus inside the field with the keyboard.
Screen.Recording.2023-02-06.at.12.26.34.mov
Expected outcome
Regardless of the device you use to move focus (the keyboard or the mouse), there shouldn't be early validation. Otherwise, it may give you a wrong impression as if you've selected something wrong whereas it was simply a required check that failed because the field didn't have a value yet.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.0 and earlier
OS: Mac OS
Browsers
Issue is not browser related
Additional context
Related to vaadin/platform#3066
The text was updated successfully, but these errors were encountered: