diff --git a/app/[locale]/calendar/page.tsx b/app/[locale]/calendar/page.tsx index 45a5214b..19e41bbc 100644 --- a/app/[locale]/calendar/page.tsx +++ b/app/[locale]/calendar/page.tsx @@ -269,12 +269,13 @@ export default function CalendarPage() { }, [closeDetail, openEditModal]); const handleHoverEvent = useCallback((event: CalendarEvent, anchorRect: DOMRect) => { + if (isMobile) return; if (hoverTimerRef.current) { clearTimeout(hoverTimerRef.current); hoverTimerRef.current = null; } // Don't show hover popover if the sidebar is already open for this event if (showEventModal && editEvent?.id === event.id) return; setDetailEvent(event); setDetailAnchorRect(anchorRect); - }, [showEventModal, editEvent]); + }, [isMobile, showEventModal, editEvent]); const handleHoverLeave = useCallback(() => { hoverTimerRef.current = setTimeout(() => { @@ -712,7 +713,7 @@ export default function CalendarPage() { }; return ( -