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] v-autocomplete reopens if items updated while in focus #4831

Closed
Kasheftin opened this issue Aug 9, 2018 · 1 comment
Closed
Labels
duplicate The issue has already been reported

Comments

@Kasheftin
Copy link

Versions and Environment

Vuetify: 1.1.10
Vue: 2.5.17
Browsers: Chrome 65.0.3325.162
OS: Linux x86_64

Steps to reproduce

  • Type 'ala' into the v-autocomplete box;
  • Press down arrow, then enter to select the first result;

Expected Behavior

Value should be selected, then the autocomplete list should be hidden and do not appear again.

Actual Behavior

Autocomplete list disappears and then reopens.

Reproduction Link

https://codepen.io/kasheftin/pen/djwYrO

Other comments

That's the slightly modified code from this example, https://github.com/vuetifyjs/vuetifyjs.com/blob/master/src/examples/autocompletes/asynchronous.vue. The last has strange restriction in watch handler (val && val !== this.select && this.querySelections(val)) it's not acceptable if the component uses return-object or when it should show preliminary results for the empty search. Anyway, reassigning the items property should now open the list.

@KaelWD
Copy link
Member

KaelWD commented Aug 9, 2018

Duplicate of #4663

@KaelWD KaelWD marked this as a duplicate of #4663 Aug 9, 2018
@KaelWD KaelWD closed this as completed Aug 9, 2018
@KaelWD KaelWD added the duplicate The issue has already been reported label Aug 9, 2018
@Kasheftin Kasheftin changed the title [Bug Report] v-autocomplete buggy reopen auto selecting a value [Bug Report] v-autocomplete buggy reopens auto selecting a value Aug 9, 2018
@Kasheftin Kasheftin changed the title [Bug Report] v-autocomplete buggy reopens auto selecting a value [Bug Report] v-autocomplete buggy reopens if items updated while in focus Aug 9, 2018
@Kasheftin Kasheftin changed the title [Bug Report] v-autocomplete buggy reopens if items updated while in focus [Bug Report] v-autocomplete reopens if items updated while in focus Aug 9, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants