From 083370292c119e3a3dc7d4ebc809655600dee7b0 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 19 Apr 2023 21:35:16 -0400 Subject: [PATCH] Fix #4259: Calendar unique month key for multiple months (#4260) --- components/lib/calendar/Calendar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js index a33362b671..594b48dfcc 100644 --- a/components/lib/calendar/Calendar.js +++ b/components/lib/calendar/Calendar.js @@ -2821,9 +2821,10 @@ export const Calendar = React.memo( const dateViewGrid = createDateViewGrid(monthMetaData, weekDays, index); const header = props.headerTemplate ? props.headerTemplate() : null; + const monthKey = monthMetaData.month + "-" + monthMetaData.year; return ( -
+
{header} {backwardNavigator}