Skip to content
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

Problem with arrow keys on latest version #146

Open
coding-raccoon4 opened this issue Nov 16, 2022 · 0 comments
Open

Problem with arrow keys on latest version #146

coding-raccoon4 opened this issue Nov 16, 2022 · 0 comments

Comments

@coding-raccoon4
Copy link

@datepicker-react/hooks
@datepicker-react/[email protected]

Describe the bug
I'm currently using version 1.5.1 for a range datepicker and everything works fine, however, when I update the library to the latest version (or any after 2.0.0) the arrow keys functionality to navigate between days is not working as expected. (Gifs below)

Source code
Sandbox with version 1.5.1: https://codesandbox.io/s/create-custom-react-date-picker-in-10-minutes-0knng?from-embed
Sandbox with version 2.8.4: https://codesandbox.io/s/create-custom-react-date-picker-in-10-minutes-forked-rjwivs?

The only change between the two sandboxes is the version of this library

Screenshots/Gifs

Version 1.5.1 (Working as expected):

gif1

Version 2.8.4:

gif2

Desktop

  • OS: Windows 10
  • Browser: Chrome
  • Version: 107.0.5304.107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant