mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-21 00:06:44 +01:00
Fix scroll back (#11192)
This commit is contained in:
parent
b5b819c866
commit
2e63941598
@ -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, {
|
||||||
|
Loading…
Reference in New Issue
Block a user