-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Keyboard control over Bootstrap Dropdown components stops working #2308
Comments
I've figured out that this plugin intentionally disables keyboard control of bootstrap dropdown by calling |
I fixed this by adding: $(document).on(
'keydown.bs.dropdown.data-api',
'.dropdown-menu[role="menu"], [data-toggle="dropdown"]:not([role="combobox"])',
bootstrap.Dropdown._dataApiKeydownHandler
); Just gotta remember to add |
…lect dropdowns (allow keyboard control over normal Bootstrap dropdown components) (#2308)
Released in v1.13.12! |
@caseyjhol |
Seconded what @Realex-fire says here. Observed behavior of using v1.13.12 in our project has shown that the "active" option only changes on first keydown, does not update on subsequent keydown events |
…-select selectors. $.off requires the selector matches exactly so the previous method didn't work. (#2308)
Released in v1.13.13! |
still facing this in 1.13.18 (BS 3.4.1, jQuery 3.7.1) |
When I add this plugin, keyboard control of bootstrap dropdown components stops working.
If I remove
bootstrap-select.js
, they start working again.You can see the example in this test case.
The text was updated successfully, but these errors were encountered: