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

Cannot see focus when navigating by years in onlyMonthPicker #298

Open awysocka opened 2 weeks ago

awysocka commented 2 weeks ago

Hi, I set the onlyMonthPicker prop.

  1. When I change the view to years and try to choose a year using the arrows, I can see the focus only on the first page. When I navigate to the next page, the focus disappears.

https://github.com/shahabyazdi/react-multi-date-picker/assets/40644520/42ba34d2-a44c-4973-a927-554910652db5

  1. When I enter the year view first, it is possible to enter the date using the tab key. However, when the month is chosen first, it is not possible.

https://github.com/shahabyazdi/react-multi-date-picker/assets/40644520/3eb3d125-f2a1-405e-899c-2c5c43672367