TimeInput: centralize keyboard handling
Author: Sulaymon333Created Sep 22, 2026Updated Sep 22, 2026
This ticket is related to the larger #8078 effort to clean up TimeInput and align it with Grommet standards.
Expected Behavior
TimeInput should centralize segmented keyboard intent at the display boundary while preserving section navigation, value updates, picker opening, and meridiem entry.
Actual Behavior
Each segment owns the same keyboard-routing logic, coupling event handling to individual segment elements and making the flow harder to maintain.
Steps to Reproduce
- Open
src/js/components/TimeInput/TimeInput.js. - Inspect the per-segment
onKeyDownhandling. - Observe that keyboard intent is owned by each segment rather than the segmented display.
Source: grommet/grommet