diff --git a/src/lib/components/portal/Portal.svelte b/src/lib/components/portal/Portal.svelte index d942b61..d75ccbf 100644 --- a/src/lib/components/portal/Portal.svelte +++ b/src/lib/components/portal/Portal.svelte @@ -4,7 +4,7 @@ import { portal } from "$lib/hooks/use-portal"; let forceInRoot = usePortalRoot(); let groupTarget = usePortalGroupContext(); - let target = (() => { + $: target = (() => { // Group context is used, but still null if ( !(forceInRoot && $forceInRoot) &&