fix: changing the page, the period or a filter keeps the scroll position

This commit is contained in:
hh committed 2026-10-16 18:16:06 +00:00
1 parent f771538f3e
commit 4936258f32
3 files changed
+8 -4

No files matched your search

@@ -111,7 +111,7 @@
url.pathname = listPath(type);
}
if (url.href !== page.url.href) {
tick().then(() => goto(url, { replace: true }));
tick().then(() => goto(url, { replace: true, reset: false }));
}
});
});