🎨 style: adjust z index of the date picker popover

This commit is contained in:
Wahyu Kurniawan 2024-02-23 10:28:45 +07:00
parent effa0bbf14
commit 705516f5e3
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33

View File

@ -85,7 +85,10 @@ export const DatePicker = ({
/>
</Popover.Trigger>
<Popover.Portal>
<Popover.Content onInteractOutside={() => setOpen(false)}>
<Popover.Content
className="z-10"
onInteractOutside={() => setOpen(false)}
>
<Calendar
{...calendarProps}
selectRange={selectRange}