shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
69.13k stars 4.1k forks source link

[bug]: Outdated component #4518

Open nkke30 opened 1 month ago

nkke30 commented 1 month ago

Describe the bug

Shadcn calendar component isn't compatible with react-day-picker 9.0.0 or later

Affected component/components

Calendar

How to reproduce

Just update react-day-picker to 9.0.0 or later.

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Any

Before submitting

Christophvh commented 1 month ago

There is already an PR for this. https://github.com/shadcn-ui/ui/pull/4371

vitali-bc commented 2 weeks ago

agree,

Screenshot 2024-08-26 alle 12 00 31 Screenshot 2024-08-26 alle 11 58 05
doubleodenis commented 1 week ago

agree, Screenshot 2024-08-26 alle 12 00 31

Screenshot 2024-08-26 alle 11 58 05

This worked for me!

nkke30 commented 1 week ago

I would recommend using https://date-picker.luca-felix.com/

LenoM commented 1 week ago

Any update?

Walidnurudin commented 4 days ago

agree, Screenshot 2024-08-26 alle 12 00 31

Screenshot 2024-08-26 alle 11 58 05

yeah, i change react-day-picker version to 8.9.1, it work on me