Skip to content

Commit 416341c

Browse files
committed
Hotfix
1 parent 6e60331 commit 416341c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrollHelper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ export function scrollElementIntoView(elementId: string, timeout?: number) {
9797

9898
const element = document.getElementById(elementId);
9999
if (!element) console.warn("scrollElementIntoView elementId not found");
100-
element.scrollIntoView({ behavior: "smooth", block: "start" });
100+
else element.scrollIntoView({ behavior: "smooth", block: "start" });
101101
}

0 commit comments

Comments
 (0)