Fix scroll back (#11192)

This commit is contained in:
Nicolas Mowen
2024-05-01 08:24:19 -06:00
committed by GitHub
parent b5b819c866
commit 2e63941598

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, {