From e50229ee16db388ba025f4fd04b6b5ef44df0541 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 28 Oct 2026 03:26:39 +0100 Subject: [PATCH] fix: let a click open short events in week and day view instead of hitting the resize edges --- components/calendar/calendar-day-view.tsx | 8 ++++---- components/calendar/calendar-week-view.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/calendar/calendar-day-view.tsx b/components/calendar/calendar-day-view.tsx index 9a9662c9f..beb5321a0 100644 --- a/components/calendar/calendar-day-view.tsx +++ b/components/calendar/calendar-day-view.tsx @@ -532,25 +532,25 @@ export function CalendarDayView({ {!clip.clippedStart && (
handleResizePointerDown(ev.id, "top", startMinutes, durMin, e)} onPointerMove={handleResizePointerMove} onPointerUp={handleResizePointerUp} > -
+
)} {!clip.clippedEnd && (
handleResizePointerDown(ev.id, "bottom", startMinutes, durMin, e)} onPointerMove={handleResizePointerMove} onPointerUp={handleResizePointerUp} > -
+
)}
diff --git a/components/calendar/calendar-week-view.tsx b/components/calendar/calendar-week-view.tsx index 050c48f09..fe89d83af 100644 --- a/components/calendar/calendar-week-view.tsx +++ b/components/calendar/calendar-week-view.tsx @@ -665,25 +665,25 @@ export function CalendarWeekView({ {!clip.clippedStart && (
handleResizePointerDown(ev.id, "top", startMinutes, durMin, e)} onPointerMove={handleResizePointerMove} onPointerUp={handleResizePointerUp} > -
+
)} {!clip.clippedEnd && (
handleResizePointerDown(ev.id, "bottom", startMinutes, durMin, e)} onPointerMove={handleResizePointerMove} onPointerUp={handleResizePointerUp} > -
+
)}