mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01: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