Open gregpr07 opened 2 months ago
Easiest solution right now is to downgrade to 8.10.1. The react-day-picker team has already been notified of this issue in the v9.0.0 release announcement
Here are my adjusted styles for the Calendar
component:
https://github.com/grzegorzpokorski/calendar-shadcnnui/blob/main/src/components/ui/calendar.tsx.
Maybe someone will have more time to review them and improve.
The most intriguing aspect is the change in the structure of this component, particularly the navigation between months. I am not sure if the current design is appropriate (playing with z-index
).
Here are my adjusted styles for the
Calendar
component: https://github.com/grzegorzpokorski/calendar-shadcnnui/blob/main/src/components/ui/calendar.tsx. Maybe someone will have more time to review them and improve.The most intriguing aspect is the change in the structure of this component, particularly the navigation between months. I am not sure if the current design is appropriate (playing with
z-index
).
OK, I'm using your code. When making adjustments to my code and not finding another solution for positioning the navigation buttons, I used the z-index
same bug ((
Easiest solution right now is to downgrade to 8.10.1. The react-day-picker team has already been notified of this issue in the v9.0.0 release announcement
npx shadcn-ui@8.10.1 add calendar gives error, no such version matching
Easiest solution right now is to downgrade to 8.10.1. The react-day-picker team has already been notified of this issue in the v9.0.0 release announcement
npx shadcn-ui@8.10.1 add calendar gives error, no such version matching
The dependency is on react-day-picker. Go to your package.json and set the 8.10.1 there and then run npm install
fixed here https://github.com/shadcn-ui/ui/pull/4421
While waiting for the update, you can try this.
https://shadcn-datetime-picker-xi.vercel.app/ https://github.com/huybuidac/shadcn-datetime-picker
Describe the bug
Currently, the component looks like this.
Fix: You can currently fix this by downgrading react-day-picker to version 8.^
Affected component/components
Calendar, Date Picker, ...
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting