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
A workaround here: add a timestamp as the key of the calendar, and refresh it on any user events. Thus the calendar will get recreate and show the correct display.
Consider that clients might add a functionality to programmatically set the time (like our project does).
e.g. buttons like 'Last Month', 'Last Week'.
Clicking those buttons to update the
selectedValue
sent as prop toRangeCalendar
will not work as expected.STR:
Select the current date in the first week of the left-side calendar (like Dec 2nd).
Left-side calendar shows Dec 2019, right side calendar shows Jan 2020
Click the 'Last Month' (an example) to update the
selectedValue
sent as prop toRangeCalendar
Notice that the calendars do not update
Proposed fix in 'RangeCalendar.js', tested locally,
The text was updated successfully, but these errors were encountered: