Skip to content

Commit f93d420

Browse files
author
Maxime Quandalle
committed
Évite une transition lors de la navigation
Ça serait bien d'avoir une solution plus systématique à sveltejs/kit#628
1 parent d907178 commit f93d420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/ville/[slug].svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</svelte:head>
3939
4040
<div class="w-full max-w-screen-md m-auto">
41-
<div class="grid overflow-hidden -m-4 p-4" transition:fly={{ y: 30 }}>
41+
<div class="grid overflow-hidden -m-4 p-4" transition:fly|local={{ y: 30 }}>
4242
{#if $page.query.get('velo')}
4343
<div
4444
class="col-start-1 col-end-1 row-start-1 row-end-1"

0 commit comments

Comments
 (0)