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

[Bug Report][3.6.8] VAutocomplete with auto-select-first selects highlighted option even when clicked outside #19929

Comments

@eric-pa
Copy link

eric-pa commented May 31, 2024

Environment

Vuetify Version: 3.6.8
Vue Version: 3.4.27
Browsers: Google Chrome
OS: Linux

Steps to reproduce

  1. Type anything that highlights an option
  2. Click outside of the component

Expected Behavior

Same as when aborted via ESC. Not select the highlighted option but keep the search text.

Actual Behavior

Option is selected like it was clicked despite it was not clicked. This can even be reproduced in the docs:
https://vuetifyjs.com/en/components/autocompletes/#new-tab

Reproduction Link

https://play.vuetifyjs.com/#...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment