You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this in a project with shadcn and the Calendar component which in turn is using radix ui which in turn is using react day picker
Tried to debug this as deep as I could, but it's way too complex for me to grasp.
I've created a repro case which exhibits a very similar situation as to what I see in my actual project. Slight difference is that here the day picker will actually show for a fraction of the second while in my project it doesn't show at all.
As I said, debugging this on Chrome vs Safari and Firefox, realised that isPositioned from useFloating only updates to true on Chrome to trigger the layout effect. Do you have any idea as to why that might happen?
Bug report
I'm using this in a project with shadcn and the Calendar component which in turn is using radix ui which in turn is using react day picker
Tried to debug this as deep as I could, but it's way too complex for me to grasp.
I've created a repro case which exhibits a very similar situation as to what I see in my actual project. Slight difference is that here the day picker will actually show for a fraction of the second while in my project it doesn't show at all.
As I said, debugging this on Chrome vs Safari and Firefox, realised that isPositioned from useFloating only updates to true on Chrome to trigger the layout effect. Do you have any idea as to why that might happen?
Much appreciated
Current Behavior
Calendar doesn't show show on safari and firefox
Expected behavior
correctly display the popup
Reproducible example
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
Suggested solution
Additional context
shadcn-ui/ui#3516
Your environment
The text was updated successfully, but these errors were encountered: