-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot select last date (max date) with keyboard #1867
Comments
I created PR to fix this issue. #1868 |
Currently running into this issue too. Would be nice to get fixed as it is causing issues for users with screen readers. |
@chrisagnew the fix is already on the latest release |
@jlurena What was the fix? Still running into the issue when using maxDate. Currently running version 2.9.6, the error is the same as the one in the video. |
@chrisagnew not sure, but it was merged. I'm running a forked version with the bug fix I applied and it's working as expected |
@jlurena I'm starting to think it is an issue when declaring the initial state of start and end date. It currently works if I set the state to |
If I'm understanding correctly, I did something similar to what you describe with #1868. |
If you don't mind me asking, why are you setting the times like that for start date and end date? |
@jlurena Fixed my issue, worked when I declared start date and end date to both be |
Do you have a custom fork? Thats strange that it'll work like that. |
@jlurena I think |
I noticed a (probably) related issue: using keyboards navigation does not work, if the minDate is in the future. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
When using keyboard to navigate the calendar (arrow keys for instance), cannot select the last date on a calendar with a maxDate prop.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A keyboard user should be able to select the last selectable date from the calendar.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: