Skip to content

Commit

Permalink
fix: use |local modifier for transitions so that they don't play out …
Browse files Browse the repository at this point in the history
…on navigation (6eDesign#67)
  • Loading branch information
antony authored Feb 14, 2020
1 parent dffada0 commit 8242299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Week.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

<div
class="week"
in:fly={{ x: direction * 50, duration: 180, delay: 90 }}
out:fade={{ duration: 180 }}
in:fly|local={{ x: direction * 50, duration: 180, delay: 90 }}
out:fade|local={{ duration: 180 }}
>
{#each days as day}
<div
Expand Down

0 comments on commit 8242299

Please sign in to comment.