-
-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Description
Code
When using onDayClick
for custom selection behavior, disabling the from
day after clicking it won't give it the rdp-selected
class. This used to work in v8, there it got both rdp-disabled
and rdp-selected
.
Also note the empty function in onSelect
, it's needed for onDayClick
to work since that makes the component controlled in v9.
Expected Behavior
A disabled selected from
day should have both rdp-disabled
and rdp-selected
. So you can see the start of the selection even with the day being disabled.
Actual Behavior
In v9, rdp-selected
isn't added, so you don't see the start of the selection.
Screenshots
Current | Expected |
---|---|
Metadata
Metadata
Assignees
Labels
No labels