Use modal on dropdowns for mobile only (#11993)

This commit is contained in:
Josh Hawkins authored and GitHub committed 2024-06-16 13:58:28 -05:00
1 parent f1bb797fe0
commit 89a478ce0a
4 files changed
+6 -6

No files matched your search

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