-
Notifications
You must be signed in to change notification settings - Fork 124
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
Scroll in browser. #70
Comments
Looks like the behavior is handled here: https://github.com/paliari/v-autocomplete/blob/master/src/Autocomplete.vue#L122. It's a jarring effect in many cases. An option to disable this would be helpful. Thoughts? @paliari, if you need help I'm happy to open a PR for this. I see a number of PRs open for months so I'm wondering where this stands. Thanks. |
On my project, when an item is focused with the keyboard, the screen scrolls to align it at the bottom. I personally find this very weird and indeed, a fix would be very nice. |
Since there is no option to deactivate that feature the only option i see to disable it from the outside will be to override the intoView function of the item, like this:
Side effect: this will disable the function entirely that means it does not work for other items on your page. In my case the autocomplete component will only be triggered on one page therefor i can accept that. |
When I press Up OR Down arrow browser gets scroll to selected item in list.
I do not know this is feature or not. But if we can handle this it will better.
The text was updated successfully, but these errors were encountered: