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.

ffe-datepicker-react: Tab prison in Firefox

See original GitHub issue

Which 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

  1. Focus the input field and press Tab. The calendar should open.
  2. Press tab again. The element “View Code” should get focused. Instead we’re back in the input field.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
wkillerudcommented, Apr 5, 2018

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 😄

Read more comments on GitHub >

github_iconTop 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 >

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