forked from Github/frigate
Fix scroll back (#11192)
This commit is contained in:
@@ -520,7 +520,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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user