mirror of
https://github.com/mozilla-firefox/firefox.git
synced 2026-06-14 11:03:31 -05:00
Currently, when the time picker is opened, and the current value is invalid, there is logic to instead select the first item in the picker. However, this does not consider the min value, meaning another potentially invalid time is being selected anyway. Selecting the minimum valid value instead provides a better experience, and setting it in `timeKeeper` instead avoids surprise scrolling animations when component state does not match `timeKeeper` state. Differential Revision: https://phabricator.services.mozilla.com/D303643