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

BS 5.1.2 Keyboard Accessibility Broken — Up / Down Arrow Key (Desktop) Not Working #2665

Open
linzswanson opened this issue Oct 5, 2021 · 4 comments

Comments

@linzswanson
Copy link

linzswanson commented Oct 5, 2021

Console Error:

Uncaught TypeError: Cannot read properties of undefined (reading 'nextElementSibling') at Object.next (VM600 bootstrap.bundle.min.js:6) at Oe._getMenuElement (VM600 bootstrap.bundle.min.js:6) at new Oe (VM600 bootstrap.bundle.min.js:6) at Function.getOrCreateInstance (VM600 bootstrap.bundle.min.js:6) at HTMLUListElement.dataApiKeydownHandler (VM600 bootstrap.bundle.min.js:6) at HTMLDocument.n (VM600 bootstrap.bundle.min.js:6)

jQuery version, Bootstrap version, and bootstrap-select version.

Reproduced Here:

@luis-fss
Copy link

Here is another sample with this issue: https://plnkr.co/edit/53lQjla5NiVGPuL0?preview

@terryaney
Copy link

Additionally, on a live search, single select dropdown, hitting Enter on an item no longer closes the dropdown. In BS4 it did. Is there an option I'm missing that would enable this behavior again?

@cyclopsMZ
Copy link

Hi all, does anyone have any quick fix for this?
All the keyboard interactions does not seem to be working. E.g. (up/down keys for selection, enter key for selecting the dropdown, typing to search for dropdown box item). Thanks

@bazineta
Copy link

bazineta commented Sep 4, 2022

I have a quick fix, but it's, well, not something you'd be proud of. Does work, though. See the referenced issue comment for diagnosis of the problem and our solution for it.

@caseyjhol #2742 (comment)

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

No branches or pull requests

6 participants