Skip to content

Commit 6a4693c

Browse files
committed
fix(webui): Accidental regression
1 parent ebcfb3f commit 6a4693c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webui/src/client/lib/viewPort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async function innerScrollToSegment(
257257
clearTimeout(pendingFirstStageTimeout)
258258
pendingFirstStageTimeout = undefined
259259
}
260-
currentScrollingElement = undefined
260+
currentScrollingElement = elementToScrollTo
261261
} else if (secondStage && elementToScrollTo !== currentScrollingElement) {
262262
throw new Error('Scroll overriden by another scroll')
263263
}

0 commit comments

Comments
 (0)