remove disablePortal from popover

This commit is contained in:
Josh Hawkins 2026-04-20 19:17:10 -05:00
parent 1b6047abf3
commit 047ea95b83
4 changed files with 5 additions and 17 deletions

View File

@ -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)}

View File

@ -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

View File

@ -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(

View File

@ -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)}