shahabyazdi / react-multi-date-picker

a simple React datepicker component for working with gregorian, persian, arabic and indian calendars
https://shahabyazdi.github.io/react-multi-date-picker/
MIT License
766 stars 90 forks source link

Accessibility problem when holding on left key to travel to previous month #290

Open royjosefsson opened 3 months ago

royjosefsson commented 3 months ago

Greetings!

Imagine this scenario: You're utilizing the tab key to navigate through the datepicker, and you've smoothly maneuvered to a chosen date. Now, you're aiming to switch dates using only the keyboard.

Press and hold the right arrow key until you've traversed into a new month. Then, engage the left arrow key to return to the previous month.

However, if the cell you originated from in the previous month is beyond the range of dates available in the current month, you'll find yourself in trouble.

2024-04-08 15 51 23

shahabyazdi commented 1 month ago

Hi Fixed in v4.5.0. Please let me know if it doesn't work properly.