react-datepicker
react-datepicker copied to clipboard
Problem with arrow keys on latest version
@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):

Version 2.8.4:

Desktop
- OS: Windows 10
- Browser: Chrome
- Version: 107.0.5304.107