Skip to content

Commit 5ddfbcf

Browse files
abhix4anikdhabal
andauthored
fix: date picker content render issue (calcom#25584)
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
1 parent 2fc1078 commit 5ddfbcf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/ui/components/form/datepicker/DatePicker.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,15 @@ const DatePicker = ({ minDate, disabled, date, onDatesChange, className }: Props
4545
{date ? <>{format(date, "LLL dd, y")}</> : <span>Pick a date</span>}
4646
</Button>
4747
</Popover.Trigger>
48+
<Popover.Portal>
4849
<Popover.Content
4950
className="bg-default text-emphasis z-50 w-auto rounded-md border p-0 outline-none"
5051
align="start"
51-
sideOffset={4}>
52+
sideOffset={4}
53+
>
5254
{calender}
5355
</Popover.Content>
56+
</Popover.Portal>
5457
</Popover.Root>
5558
</div>
5659
);

0 commit comments

Comments
 (0)