Fix scroll back (#11192)

This commit is contained in:
Nicolas Mowen
2024-05-01 09:24:19 -05:00
committed by GitHub
parent b5b819c866
commit 2e63941598
+1 -1
View File
@@ -520,7 +520,7 @@ function DetectionReview({
}
const element = contentRef.current?.querySelector(
`[data-start="${startTime}"]`,
`[data-start="${startTime + REVIEW_PADDING}"]`,
);
if (element) {
scrollIntoView(element, {