vueform / multiselect

Vue 3 multiselect component with single select, multiselect and tagging options (+Tailwind CSS support).
https://vueform.com
MIT License
807 stars 150 forks source link

Problems with keyboard navigation in multiselect with groups #354

Closed emmysortland closed 1 year ago

emmysortland commented 1 year ago

Version

Description

Where: Multiselect with groups

Steps to reproduce:

More info In our project, we always get this error when attempting keyboard navigation. But after pressing the down arrow key 3 times without successful navigation, it works 4th time and onwards. The first time, we get the the error "Uncaught TypeError:Cannot read properties of undefined (reading 'VISIBLE')" . The second time, the error "Uncaught TypeError: Cannot read properties of undefined (reading 'label')". Third time, no error and also no navigation. Then from the fourth click on the down arrow key, navigation works as expected.

Demo

https://jsfiddle.net/t9e2r6wp/10/