From 2e639415987ca3eb546aed842f06eef691636d8e Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 1 May 2024 08:24:19 -0600 Subject: [PATCH] Fix scroll back (#11192) --- web/src/views/events/EventView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index 0f9407451..7c33648f0 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -520,7 +520,7 @@ function DetectionReview({ } const element = contentRef.current?.querySelector( - `[data-start="${startTime}"]`, + `[data-start="${startTime + REVIEW_PADDING}"]`, ); if (element) { scrollIntoView(element, {