Closed ryantanrk closed 2 months ago
Please check the CI output
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.26%. Comparing base (
882867c
) to head (7f9fb19
). Report is 6 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
name: Pull Request about: Fixes the date picker throwing an invalid time error when selecting excluded month with the keyboard title: fix: invalid time error when selecting excluded month with keyboard labels: "" assignees: ""
Description
Linked issue: #4731
Problem When an excluded month is selected with the keyboard, the month appears to not be keyboard selected, and when the arrow keys are used again, the Invalid time value error is thrown![image](https://github.com/Hacker0x01/react-datepicker/assets/49902829/b37b9521-3ad0-4ea0-aab8-989371bf6516)
Changes Added a
isMonthDisabled
check to theonMonthKeyDown
functionScreenshots
Contribution checklist