From 082694470a15e50c5d000936572856a574409ea5 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 15 Jul 2022 01:07:07 +0530 Subject: [PATCH] fix: don't change url hash while scrolling (#991) --- src/client/theme-default/composables/outline.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/theme-default/composables/outline.ts b/src/client/theme-default/composables/outline.ts index 355e9bc40b5..19ca675d4f1 100644 --- a/src/client/theme-default/composables/outline.ts +++ b/src/client/theme-default/composables/outline.ts @@ -120,7 +120,6 @@ export function useActiveAnchor( const [isActive, hash] = isAnchorActive(i, anchor, nextAnchor) if (isActive) { - history.replaceState(null, document.title, hash ? hash : ' ') activateLink(hash) return }