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 followed instructions in documentation written for my React-Calendar version
I have checked if this bug is not already reported
Description
I tried to add tile contents depending on the active month. However, the cached return value of tileContent function is not invalidated after the change of activeStartDate. As a result, some tiles are displayed as if activeStartDate were in another month.
Before you start - checklist
Description
I tried to add tile contents depending on the active month. However, the cached return value of
tileContent
function is not invalidated after the change ofactiveStartDate
. As a result, some tiles are displayed as ifactiveStartDate
were in another month.Steps to reproduce
Expected behavior
tileContent
is re-evaluated for Dec 27th to Jan 2nd, so check marks appear in Dec 27th to 31st.Actual behavior
Tile contents are cached and marks are still displayed for Jan 1st and 2nd.
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: