Skip to content
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

[2.4.1] The dropdown doesn't automatically scroll to the selected item on page load when you open it #206

Closed
renszee opened this issue Jun 3, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@renszee
Copy link

renszee commented Jun 3, 2021

Describe the bug
The dropdown doesn't automatically scroll to the selected item on page load when you open it.

To Reproduce
Go to https://codesandbox.io/s/wonderful-snowflake-ywwzb?file=/src/App.vue
Click on the select.

Expected behavior
The dropdown should be scrolled to the selected item "Netherlands".

@renszee renszee added the bug Something isn't working label Jun 3, 2021
@soc221b soc221b added enhancement New feature or request bug Something isn't working and removed bug Something isn't working enhancement New feature or request labels Jun 3, 2021
@soc221b
Copy link
Owner

soc221b commented Jun 4, 2021

Thanks you for the feedback.

At first glance, I think this is a feature request.
But after some investigation, I noticed that this is a common (or required) behavior in html select on the browser and is also implemented in other list-box/combo-box components, so I changed it back to the bug issue.

@soc221b soc221b closed this as completed Jun 4, 2021
soc221b pushed a commit that referenced this issue Jun 5, 2021
soc221b pushed a commit that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants