Replies: 2 comments
-
react-day-picker reports every user interaction, in order to ignore clicks on disabled days, check for the modifier "disabled". Here's how you can implement it with onDayClick:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I found a same problem. Related: #1584 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When you set up Datepicker so
<DayPicker
disabledDays = {{
after: new Date(),
}}
showOutsideDays />;
With specifying disabledDays it allows to click on days out of today range.
Beta Was this translation helpful? Give feedback.
All reactions