mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 00:11:15 +03:00
remove disablePortal from popover
This commit is contained in:
parent
1b6047abf3
commit
047ea95b83
@ -127,7 +127,7 @@ export function CustomTimeSelector({
|
|||||||
{formattedStart}
|
{formattedStart}
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent className="flex flex-col items-center" disablePortal>
|
<PopoverContent className="flex flex-col items-center">
|
||||||
<TimezoneAwareCalendar
|
<TimezoneAwareCalendar
|
||||||
timezone={config?.ui.timezone}
|
timezone={config?.ui.timezone}
|
||||||
selectedDay={new Date(startTime * 1000)}
|
selectedDay={new Date(startTime * 1000)}
|
||||||
@ -193,7 +193,7 @@ export function CustomTimeSelector({
|
|||||||
{formattedEnd}
|
{formattedEnd}
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent className="flex flex-col items-center" disablePortal>
|
<PopoverContent className="flex flex-col items-center">
|
||||||
<TimezoneAwareCalendar
|
<TimezoneAwareCalendar
|
||||||
timezone={config?.ui.timezone}
|
timezone={config?.ui.timezone}
|
||||||
selectedDay={new Date(endTime * 1000)}
|
selectedDay={new Date(endTime * 1000)}
|
||||||
|
|||||||
@ -269,7 +269,6 @@ function AnnotationSettings({
|
|||||||
: "mx-1 max-h-[75dvh] overflow-hidden rounded-t-2xl px-4 pb-4"
|
: "mx-1 max-h-[75dvh] overflow-hidden rounded-t-2xl px-4 pb-4"
|
||||||
}
|
}
|
||||||
{...contentProps}
|
{...contentProps}
|
||||||
{...(isDesktop ? { disablePortal: true } : {})}
|
|
||||||
data-annotation-popover
|
data-annotation-popover
|
||||||
>
|
>
|
||||||
<AnnotationSettingsPane
|
<AnnotationSettingsPane
|
||||||
|
|||||||
@ -415,10 +415,7 @@ export default function Step3StreamConfig({
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent
|
<PopoverContent className="w-[--radix-popover-trigger-width] p-2">
|
||||||
className="w-[--radix-popover-trigger-width] p-2"
|
|
||||||
disablePortal
|
|
||||||
>
|
|
||||||
<Command>
|
<Command>
|
||||||
<CommandInput
|
<CommandInput
|
||||||
placeholder={t(
|
placeholder={t(
|
||||||
|
|||||||
@ -598,7 +598,6 @@ function SearchRangeSelector({
|
|||||||
setStartOpen(false);
|
setStartOpen(false);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
modal={false}
|
|
||||||
>
|
>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button
|
<Button
|
||||||
@ -614,10 +613,7 @@ function SearchRangeSelector({
|
|||||||
{formattedStart}
|
{formattedStart}
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent
|
<PopoverContent className="flex flex-col items-center">
|
||||||
disablePortal
|
|
||||||
className="flex flex-col items-center"
|
|
||||||
>
|
|
||||||
<TimezoneAwareCalendar
|
<TimezoneAwareCalendar
|
||||||
timezone={timezone}
|
timezone={timezone}
|
||||||
selectedDay={new Date(startTime * 1000)}
|
selectedDay={new Date(startTime * 1000)}
|
||||||
@ -668,7 +664,6 @@ function SearchRangeSelector({
|
|||||||
setEndOpen(false);
|
setEndOpen(false);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
modal={false}
|
|
||||||
>
|
>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button
|
<Button
|
||||||
@ -684,10 +679,7 @@ function SearchRangeSelector({
|
|||||||
{formattedEnd}
|
{formattedEnd}
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent
|
<PopoverContent className="flex flex-col items-center">
|
||||||
disablePortal
|
|
||||||
className="flex flex-col items-center"
|
|
||||||
>
|
|
||||||
<TimezoneAwareCalendar
|
<TimezoneAwareCalendar
|
||||||
timezone={timezone}
|
timezone={timezone}
|
||||||
selectedDay={new Date(endTime * 1000)}
|
selectedDay={new Date(endTime * 1000)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user