thisbeyond / solid-select

The Select component for Solid.
https://solid-select.com
MIT License
172 stars 18 forks source link

Start from selected option position #54

Open Hentioe opened 5 months ago

Hentioe commented 5 months ago

Is support considered: When opening a list of options, the scroll position starts from the selected option?

When the list of options is too long, I have to do multiple scrolls each time. Because the option I want to change may be near the current option, and the "current option" is at the bottom.

There are several ways to achieve this, the simplest is probably the scrollIntoView method.

martinpengellyphillips commented 2 months ago

Going to look at this in the coming weeks.