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.

Tabbing away from within the datepicker doesn't close the calendar

See original GitHub issue

Is there any props where I can close/hide the calendar when I tab the focus away from within the calendar?

Currently, I have to put an event listener on ‘keydown’ on the buttons inside the calendar, and trigger a setState to set the focused props to false when the key is Tab

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ljharbcommented, Feb 2, 2022

Closing, since it’s fixed in the default branch. Happy to reopen if the next release doesn’t solve it.

1reaction
ljharbcommented, Feb 2, 2022

I don’t have a timeline, but I’m hoping for sooner rather than later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tabbing away from within the datepicker doesn't close the ...
@majapw I am currently rendering it through an input field. When the focus is on the input field, the calendar will pop up...
Read more >
Datepicker calendar doesn't go away when tab key pressed
The calendar doesn't go away when the tab key is pressed. This is a problem because the tab key takes the cursor down...
Read more >
How to insert calendar in Excel (Date Picker & printable ...
To activate your Excel drop down calendar, go to the Design tab > Controls group, and turn off the Design Mode: To activate...
Read more >
15325 (Tabbing is not working on date picker.) - jQuery UI
If I click on the date picker button, the calendar opens but the cursor sets the focus on the input field instead of...
Read more >
Hiding the jQuery UI datepicker on form field exit - Saints at Play
It just won't close. Tabbing away from the input field or clicking outside the opened datepicker has no effect and the documentation leaves...
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