You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As can be seen in the video below, when the results are changed the active styling isn't being updated and set onto the correct index, its staying on index 1 despite the activeIndex being 0.
Clip1.mov
In the next clip you can see (at about 10s) that because of the above when I press the down arrow key nothing seems to happen as the styling is incorrectly assigned to the option at index 1 instead of being reset back to index 0, therefor it takes two arrow key press to get any feedback.
Clip2.mov
The text was updated successfully, but these errors were encountered:
JamesNuttall
changed the title
Combobox Active Index not resetting correctly
Combobox active index styling not resetting correctly
Apr 21, 2023
Package Version: @headlessui/vue v1.7.13
Reproduction URL: https://stackblitz.com/edit/combobox-issue?file=src/App.vue
Issue
As can be seen in the video below, when the results are changed the active styling isn't being updated and set onto the correct index, its staying on index 1 despite the activeIndex being 0.
Clip1.mov
In the next clip you can see (at about 10s) that because of the above when I press the down arrow key nothing seems to happen as the styling is incorrectly assigned to the option at index 1 instead of being reset back to index 0, therefor it takes two arrow key press to get any feedback.
Clip2.mov
The text was updated successfully, but these errors were encountered: