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

Problems with keyboard navigation in multiselect with groups #354

Closed
emmysortland opened this issue Aug 14, 2023 · 0 comments
Closed

Problems with keyboard navigation in multiselect with groups #354

emmysortland opened this issue Aug 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@emmysortland
Copy link

Version

  • Vue version: 3

Description

**Where: ** Multiselect with groups

**Steps to reproduce: **

  • Go to: https://jsfiddle.net/t9e2r6wp/10/
  • Select one group in the list
  • Try to navigate down using a keyboard
  • Errors are displayed in the console, and no navigation happens in list
    image

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/

@adamberecz adamberecz added the bug Something isn't working label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants