mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-22 08:57:20 -06:00
Prevent ptz keyboard shortcuts from reopening presets menu (#12079)
This commit is contained in:
parent
9f81ce2876
commit
a60ffe06ac
@ -626,7 +626,10 @@ function PtzControlPanel({
|
||||
<BsThreeDotsVertical />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent className="scrollbar-container max-h-[40dvh] overflow-y-auto">
|
||||
<DropdownMenuContent
|
||||
className="scrollbar-container max-h-[40dvh] overflow-y-auto"
|
||||
onCloseAutoFocus={(e) => e.preventDefault()}
|
||||
>
|
||||
{ptz?.presets.map((preset) => {
|
||||
return (
|
||||
<DropdownMenuItem
|
||||
|
Loading…
Reference in New Issue
Block a user