-
-
Notifications
You must be signed in to change notification settings - Fork 762
Closed
Description
The first bug is that clicking outside days only changes the month if you have an onDayClick prop set (which is surprising behavior). This seems to be because handleDayClick is only called if props.onDayClick is set. I think this should maybe be opt-in behavior that happens regardless of onDayClick's value?
The second bug is that you can use this month changing functionality to navigate to days outside of the bounds set by fromMonth and toMonth. It seems that showMonthForOutsideDays doesn't check if the month is allowed or not. Perhaps instead of calling setState directly it should call showMonth instead?
Metadata
Metadata
Assignees
Labels
No labels