From aa79870625d0fec109432aa44e4011583573938b Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Fri, 24 Oct 2025 16:53:44 -0400 Subject: [PATCH] smooth scroll into view in pubs --- src/utils/scrollIntoView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/scrollIntoView.ts b/src/utils/scrollIntoView.ts index 9fae8be3..1b8ff6a1 100644 --- a/src/utils/scrollIntoView.ts +++ b/src/utils/scrollIntoView.ts @@ -6,5 +6,5 @@ export function scrollIntoView( threshold: number = 0.9, ) { const element = document.getElementById(elementId); - scrollIntoViewIfNeeded(element, false); + scrollIntoViewIfNeeded(element, false, "smooth"); } -- 2.51.2