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.5.11] v-autocomplete: dropdown doesn't show all options after clearing out search input text #19481

Open
AlienBob93 opened this issue Mar 26, 2024 · 0 comments
Labels
C: VVirtualScroll T: bug Functionality that does not work as intended/expected

Comments

@AlienBob93
Copy link

Environment

Vuetify Version: 3.5.11
Vue Version: 3.4.21
Browsers: Chrome 123.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  1. Enter some search text
  2. Select an option from the dropdown
  3. Clear out (backspace) the search text (do not clear out the previously selected option)
  4. Repeat steps 1 through 3
  5. After a few iterations, you will see that the dropdown only renders the 1st option.
  6. Once the bug is triggered it will persist until you scroll in the dropdown

Expected Behavior

The dropdown list always renders all the available options if the search terms is cleared.

Actual Behavior

The dropdown list only renders the 1st available option if the search terms is cleared. The dropdown fixes itself when you scroll on it.

Reproduction Link

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

Other comments

This issue was first noticed in Vue 3.3.4 and Vuetify 3.4.10 and persisted in Vue 3.4.21 and Vuetify 3.5.11

@yuwu9145 yuwu9145 added T: bug Functionality that does not work as intended/expected C: VVirtualScroll and removed S: triage labels Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VVirtualScroll T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants