Skip to content

Commit

Permalink
Fix scroll back (blakeblackshear#11192)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed May 1, 2024
1 parent b5b819c commit 2e63941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/events/EventView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ function DetectionReview({
}

const element = contentRef.current?.querySelector(
`[data-start="${startTime}"]`,
`[data-start="${startTime + REVIEW_PADDING}"]`,
);
if (element) {
scrollIntoView(element, {
Expand Down

0 comments on commit 2e63941

Please sign in to comment.