diff --git a/app/src/plugins/router.ts b/app/src/plugins/router.ts index a104e1a1..4357a3e6 100644 --- a/app/src/plugins/router.ts +++ b/app/src/plugins/router.ts @@ -18,8 +18,7 @@ const router = createRouter({ ], scrollBehavior(to, from, savedPosition) { if (to.hash) return { selector: to.hash }; - if (savedPosition) return savedPosition; - return { top: 0 }; + return savedPosition || from.meta.scrollPosition || { top: 0 }; }, });