mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
fix incorrect focus when reopening search detail dialog on video tab
This commit is contained in:
parent
68ef0b88fb
commit
cfe819df77
@ -1234,6 +1234,8 @@ export function VideoTab({ search }: VideoTabProps) {
|
|||||||
const source = `${baseUrl}vod/${search.camera}/start/${search.start_time}/end/${endTime}/index.m3u8`;
|
const source = `${baseUrl}vod/${search.camera}/start/${search.start_time}/end/${endTime}/index.m3u8`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
<span tabIndex={0} className="sr-only" />
|
||||||
<GenericVideoPlayer source={source}>
|
<GenericVideoPlayer source={source}>
|
||||||
{reviewItem && (
|
{reviewItem && (
|
||||||
<div
|
<div
|
||||||
@ -1284,5 +1286,6 @@ export function VideoTab({ search }: VideoTabProps) {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</GenericVideoPlayer>
|
</GenericVideoPlayer>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user