Use modal on dropdowns for mobile only (#11993)

This commit is contained in:
Josh Hawkins
2024-06-16 12:58:28 -06:00
committed by GitHub
parent f1bb797fe0
commit 89a478ce0a
4 changed files with 6 additions and 6 deletions

View File

@@ -620,7 +620,7 @@ function PtzControlPanel({
</>
)}
{(ptz?.presets?.length ?? 0) > 0 && (
<DropdownMenu modal={false}>
<DropdownMenu modal={!isDesktop}>
<DropdownMenuTrigger asChild>
<Button>
<BsThreeDotsVertical />