ffe-datepicker-react: Tab prison in Firefox
See original GitHub issueWhich package is this issue related to?
ffe-datepicker-react
Describe your issue
If the input field for the datepicker is focused pressing Tab always opens the calendar. When pressing Tab again the calendar is closed and the input field is given focus. Pressing Tab again opens the calendar. Pressing tab again gives the input field focus. Pressing tab again opens the calendar… 👮♂️ The cursor is imprisoned in the datepicker 👮♀️
What is the expected behavior?
Pressing Tab when the calendar is open should give the next tabbable element focus.
What is the actual behavior?
The previous tabbable element (the input field) is given focus. There is no way forward in the form without using a mouse.
Steps to reproduce
https://design.sparebank1.no/styleguidist/index.html#!/Datepicker/0
- Focus the input field and press Tab. The calendar should open.
- Press tab again. The element “View Code” should get focused. Instead we’re back in the input field.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Width problem in FireFox #994 - Hacker0x01/react-datepicker
I am using react-datepicker v0.53.0 and I'm getting the following results in my application: Chrome: Firefox: Also, the language settings ...
Read more >react-date-picker firefox bug - CodeSandbox
VS Code's tsserver was deleted by another application such as a misbehaving virus detection tool. Please reinstall VS Code. Manage Extension.
Read more >Select does not open dropdown onclick | Firefox Support Forum
I am currently using a datepicker from jQuery UI 1.10 with a select dropdown so that the user can choose year. The "yearpicker"...
Read more >[Script]-jQuery jail plugin makes firefox extremely slow
Coding example for the question jQuery jail plugin makes firefox extremely slow. ... It didn't take much time and performance is much better...
Read more >Date input not working in firefox - Stack Overflow
Unfortunately <input type="date"/> is not supported in firefox. To be able to use date type in all browser you can check using modernizer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wkillerud @ivarni @selbekk Created PR: https://github.com/SpareBank1/designsystem/pull/151
Right, I’m using Firefox. Running Nightly 61.0a1, but I see Ivar reproduced it in Stable.
So it’s a browser specific race condition - nice 😄