Skip to content

Commit 88d47e3

Browse files
committed
fix(transition): nullify out transition on first render
1 parent f32741a commit 88d47e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/RouteTransition.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
});
3131
3232
const _out = $derived<TransitionFunction>(((node, props, options) => {
33-
if (firstRender && first === false) return;
33+
if (firstRender) return;
3434
return transition?.out?.(node, props, options);
3535
}) as TransitionFunction);
3636

0 commit comments

Comments
 (0)