Say I have an out: transition on an element in a SvelteKit route "A" and another in: transition on some other element in route "B". Wenn navigating from page A to B, the transition of A has to finish before the elements of page B are shown.
Is there a way to have the elements of page A and B overlap during their transitions?
Page A
<script>
import { fly } from "svelte/transition";
</script>
<header out:fly={{ y: 100 }}>
...
Page B
...
<header in:fly={{ y: 100 }}>
...
File structure
project
└ src
└ routes
├ route-a.svelte
└ route-b.svelte