From 60dd5a82804fe818d6bf5f24536d26c8495a16f1 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 1 Aug 2026 12:32:13 +0000 Subject: [PATCH] fix: calendar day view - key-based remount workaround for react-big-calendar DnD --- apps/web/src/routes/_app/calendar.tsx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/web/src/routes/_app/calendar.tsx b/apps/web/src/routes/_app/calendar.tsx index 050bcfd..8aaab41 100644 --- a/apps/web/src/routes/_app/calendar.tsx +++ b/apps/web/src/routes/_app/calendar.tsx @@ -255,7 +255,9 @@ function CalendarPage() {
+ {/* Key={view} forces remount on view change (workaround for react-big-calendar DnD day view issue) */} ( - { - props.onView(newView); - setView(newView); - }} - /> - ), + toolbar: (props: any) => , }} views={["month", "week", "work_week", "day", "agenda"]} step={30}