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

Autocomplete selects wrong highlighted position #3624

Closed
pandasamanvaya opened this issue Dec 25, 2021 · 0 comments
Closed

Autocomplete selects wrong highlighted position #3624

pandasamanvaya opened this issue Dec 25, 2021 · 0 comments

Comments

@pandasamanvaya
Copy link

Overview of the problem

Buefy version: [0.9.13]
Vuejs version: [2.6.14]
OS/Browser: Chromium(Brave)

Description

The highlighted position stores the value of the last entry when navigated using arrow keys. The highlighted position changes once the list is updated, but the stored highlighted value is not updated.

Steps to reproduce

Below is a video attached that shows the error on the Buefy Autocomplete documentation page.

  1. Type a in the Object array example
  2. Navigate to the name Clarence using down keys.
  3. Type n.
  4. Press Enter
autocomplete_bug.mp4

Expected behavior

Nothing was supposed to get selected as none of the elements were highlighted.

Actual behavior

Clarence got selected even though that entry was not in the updated dropdown list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant