feat: maintain scroll position after filters

This commit is contained in:
Arman
2024-07-03 15:42:52 +02:00
parent 4b0ce15a6e
commit f0079a9778
+1 -1
View File
@@ -66,7 +66,7 @@ function initQueries(initialValue = new Map<string | TagValue, string>()) {
function apply() {
const queryParam = mapToQueryParams(get(queries));
const currentLocation = window.location.pathname;
goto(`${currentLocation}?query=${queryParam}`);
goto(`${currentLocation}?query=${queryParam}`, { noScroll: true });
}
return {