phoenixwong / vue2-timepicker

A dropdown time picker (hour|minute|second) for Vue 2.x, with flexible time format support
https://phoenixwong.github.io/vue2-timepicker/
MIT License
432 stars 193 forks source link

Picker should scroll to initial value #156

Open wparad opened 2 years ago

wparad commented 2 years ago

When I open up the select box I start at the top of the options, even if the selected value is on the bottom. This is an issue when the list of options is very long.

Expected behavior I would expect that the selection starts from the selected value, else I have to scroll endless to get to my value, if I want to do a slightly change.

Actual behavior It starts at the beginning of the list except for the actual selected value