Fix scroll back

This commit is contained in:
Nicolas Mowen 2024-05-01 08:16:18 -06:00
parent bb335638a4
commit 801a24ab46

View File

@ -513,7 +513,7 @@ function DetectionReview({
} }
const element = contentRef.current?.querySelector( const element = contentRef.current?.querySelector(
`[data-start="${startTime}"]`, `[data-start="${startTime + REVIEW_PADDING}"]`,
); );
if (element) { if (element) {
scrollIntoView(element, { scrollIntoView(element, {