-
Notifications
You must be signed in to change notification settings - Fork 32
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
DatePickerE: Tabbing away from day in calendar should clear range highlight #2872
Comments
Note: v8 is due for release before the end of the year: https://github.com/gpbl/react-day-picker/discussions/1316 We could start using it for DatePickerE only using an alias. |
👋 hey thanks for looking at react-day-picker! Please remember v8 is a major update mainly incompatible with the previous version. If you are evaluating the beta or considering to upgrade, consider to contact the mantainers at the DayPicker Slack. We can help for real use-cases for DayPicker and see how it is implemented around. |
Hi @gpbl 👋 Thanks for visiting! 😄 Our date picker component ( We're planning on having a look at migrating Thanks again! |
This issue has been marked as stale because it has been open for 60 days with no activity |
This issue has been marked as stale because it has been open for 60 days with no activity |
This issue has been marked as stale because it has been open for 60 days with no activity |
When the date picker is in range mode and a second date is being selected (focused) using the keyboard arrow keys, the days between the first and focused date are shaded.
However, the shading isn't cleared when tabbing to a different element. This is due to react-day-picker v7 not exposing a
onDayBlur
prop (which would allow us to clear the highlight).However, the prop has been added for react-day-picker v8 which is currently in beta, so this should be fixable once a stable version of it is released.
The text was updated successfully, but these errors were encountered: