{#if !isTodayVisible}
{/if}
@@ -273,7 +279,7 @@
diff --git a/apps/calendar/apps/web/src/lib/components/calendar/MonthView.svelte b/apps/calendar/apps/web/src/lib/components/calendar/MonthView.svelte
index d32183cae..936c5b755 100644
--- a/apps/calendar/apps/web/src/lib/components/calendar/MonthView.svelte
+++ b/apps/calendar/apps/web/src/lib/components/calendar/MonthView.svelte
@@ -18,9 +18,6 @@
isToday,
isSameDay,
isWeekend,
- setYear,
- setMonth,
- setDate,
getHours,
getMinutes,
differenceInMinutes,
diff --git a/apps/calendar/apps/web/src/lib/components/calendar/PillCalendarSelector.svelte b/apps/calendar/apps/web/src/lib/components/calendar/PillCalendarSelector.svelte
index 8e52c37ec..aff0d8d57 100644
--- a/apps/calendar/apps/web/src/lib/components/calendar/PillCalendarSelector.svelte
+++ b/apps/calendar/apps/web/src/lib/components/calendar/PillCalendarSelector.svelte
@@ -2,6 +2,16 @@
import { calendarsStore } from '$lib/stores/calendars.svelte';
import { goto } from '$app/navigation';
+ // Portal action - moves element to body to escape stacking contexts
+ function portal(node: HTMLElement) {
+ document.body.appendChild(node);
+ return {
+ destroy() {
+ node.remove();
+ },
+ };
+ }
+
interface Props {
direction?: 'up' | 'down';
embedded?: boolean;
@@ -80,20 +90,23 @@
{#if isOpen}
-
+
-
+