Skip to content

Commit

Permalink
fix(front): runs on category page when navigating between topics
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Oct 7, 2023
1 parent 647092c commit 35641e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/src/lib/components/TransitionElasticFly.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { navigating } from '$app/stores';
import { circInOut } from 'svelte/easing';
import { fly } from 'svelte/transition';
import { motionless } from '@utils';
import { motionless, scrollTop } from '@utils';
export let transitionKey;
export let classList = false;
export let duration = 333;
Expand Down Expand Up @@ -49,6 +49,7 @@
],
{ duration, fill: 'both', easing: 'ease-in-out' }
);
scrollTop();
}
}
}
Expand Down

0 comments on commit 35641e3

Please sign in to comment.