-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select does not scroll to selected item when the list is large #406
Comments
I solved it by using these
Here is code of my custom component that using vueform/multiselect
|
Thanks @kentreez - so the code as you put didn't quite work since I think you might be using native=true and I am not sure what the "setPointer( )" call is (this is not listed in vueform) but.... I did come up with something that closely works (It does show the selected value) Here is a link to my stackblitz showing it: https://stackblitz.com/edit/github-pnakzq-siyssl?file=src%2FApp.vue Pseudo path.... I need to think a bit more on this (doesn't seem optimal) but
Again, I am just offering this here as a workaround. Ideally the control should just do the "right thing" |
Version
Description
When selecting an item in the select via the model when opened it will not scroll to the item. Depending on the application this will either happen on the first time or on subsequent openings (see example below). This makes is difficult when you have a table + form view and you are selecting a model that is populating the form but clicking the dropdown does not show the selected item. First discussed on Discord channel: https://discord.com/channels/787237947635793940/1171733876100583476/threads/1234957785075155035
Demo
https://stackblitz.com/edit/github-pnakzq-wwpvlc?file=src%2FApp.vue
The text was updated successfully, but these errors were encountered: