question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

keydown navigation in dropdown broken if there are hidden items

See original GitHub issue

Bootstrap v4.3.1

When navigating on dropdown using keyboard and if there are hidden(display: none) dropdown item in between then keyboard navigation stops.

Issues seems from: _dataApiKeydownHandler method, it doesn’t skip hidden element, it directly set focus on next element while next element can be hidden and focus does not set on hidden element and navigation gets broken.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
XhmikosRcommented, Dec 3, 2020

Yup. The PR that was merged didn’t properly mention the issue hence why it remained open. I usually edit PR descriptions myself when they are wrong.

0reactions
msh-odoocommented, Dec 4, 2020

Good news, Thanks @jeremyvii for the fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

jquery select dropdown ignores keydown event when it's ...
preventDefault(); } });. It works fine for everything except when a select field dropdown list is opened, this event is ignored and a...
Read more >
Keyboard accessible dropdown in Elm - DEV Community ‍ ‍
In order to navigate the options list with up/down arrows, we need to keep track of the currently focused item. We also need...
Read more >
Drop Down List inside Grid, custom navigation - Telerik
I have implemented custom navigation in the grid that works very well for text box inputs. However, it does not work well when...
Read more >
.keydown() | jQuery API Documentation
The keydown event is sent to an element when the user presses a key on the keyboard. ... it is useful to attach...
Read more >
How to Handle Alerts/Popups in Selenium WebDriver
hi shruthi,it is a great tutorial.thanque. i cannot see keyPress methods after clicking robot object . (dot)in eclipse.I imported java.awt.*.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found