shadcn-ui/ui

[bug]: Nested Calendar inside a PopOver inside a Drawer doesn't work on Firefox and Safari

Opened this issue · 0 comments

Describe the bug

Using the example from the calendar component, it doesn't work once added inside a Drawer component, as in the popover immediately closes

Affected component/components

Calendar, Popover, Drawer

How to reproduce

Go to https://codesandbox.io/p/devbox/thirsty-stallman-s437k5?file=%2Fapp%2Fpage.tsx%3A21%2C44
Open the calendar
Click the Pick a date button

Codesandbox/StackBlitz link

https://codesandbox.io/p/devbox/thirsty-stallman-s437k5?file=%2Fapp%2Fpage.tsx%3A21%2C44

Logs

No response

System Info

Only works on Chrome

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues