From a3f27ec2ec1ce784ca11e5fb41f92a0367715393 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Mon, 13 Jul 2026 10:52:01 +0200 Subject: [PATCH] fix: ignore tab URL hashes in navigation history --- frontend/src/lib/components/ui/tabs/tabs.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/ui/tabs/tabs.svelte b/frontend/src/lib/components/ui/tabs/tabs.svelte index 9dae5d31..19e4a18a 100644 --- a/frontend/src/lib/components/ui/tabs/tabs.svelte +++ b/frontend/src/lib/components/ui/tabs/tabs.svelte @@ -22,7 +22,7 @@ function onTabChange(newValue: string) { if (useHash && page.url.hash !== newValue) { - window.location.hash = newValue; + history.replaceState(history.state, "",location.pathname + location.search + `#${newValue}`); } }