[fields][TimeField] Adapt delta calculation for meridiem #13213
Labels
accessibility
a11y
bug 🐛
Something doesn't work
component: pickers
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
feature: Keyboard editing
Related to the pickers keyboard edition
Current behavior
When the meridian value is either empty (aa) or AM, pressing PageDown will make it switch between aa and AM due to the logic on the newOptionsIndex used to adjust letter sections. It's not the case for PageUp nor when the value is PM , plus the digit sections behave differently, never resetting again their section value.
Screen.Recording.2024-05-22.at.11.01.23.mov
Desired behavior
Should not reset placeholder value in meridians
Search keywords: pickers, sections, A11y, accessibility
The text was updated successfully, but these errors were encountered: