mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Fix scroll back
This commit is contained in:
parent
bb335638a4
commit
801a24ab46
@ -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, {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user