We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e60331 commit 416341cCopy full SHA for 416341c
scrollHelper.tsx
@@ -97,5 +97,5 @@ export function scrollElementIntoView(elementId: string, timeout?: number) {
97
98
const element = document.getElementById(elementId);
99
if (!element) console.warn("scrollElementIntoView elementId not found");
100
- element.scrollIntoView({ behavior: "smooth", block: "start" });
+ else element.scrollIntoView({ behavior: "smooth", block: "start" });
101
}
0 commit comments