Illustrates this issue: sveltejs/kit#628
The issue is resolved in Svelte 4 because transitions now default to |local instead of |global.
Note: when switching between the main (i.e. svelte 3) and svelte4 branches,
make sure to run pnpm i
to install the correct version of svelte.