You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to revert in #2429 the fix for this change as it caused other problems. I'm not sure if this is actually a bug: When changing startMonth or endMonth, what should happen to the currently selected days? Which month should display if the calendar has already been navigated?
A workaround is to control the month using the onMonthChange and month props.
If we use a state variable for startMonth, the day picker doesn't update the initial month
Code
sandbox link - https://codesandbox.io/p/sandbox/strange-benz-vsh96j
Expected Behavior
The initial month in calendar updates if the state variable is updated
Actual Behavior
The initial month displayed s the value set during state variable
Screenshots
The text was updated successfully, but these errors were encountered: