react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Problem with arrow keys on latest version

Open coding-raccoon4 opened this issue 3 years ago • 0 comments

@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

coding-raccoon4 avatar Nov 16 '22 22:11 coding-raccoon4