Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Datepicker raises Invalid prop ref supplied to React.Fragment. React.Fragment can only have key and children props. #4068

Open
rhufsky opened this issue Nov 15, 2024 · 7 comments

Comments

@rhufsky
Copy link

rhufsky commented Nov 15, 2024

NextUI Version

2.4.8 and 2.5-beta.11, Next15, React 19RC

Describe the bug

When hitting the calendar icon on datepicker, the datepicker popover opens and raises two errors:

Invalid prop refsupplied toReact.Fragment. React.Fragment can only have keyandchildren props.

Your Example Website or App

https://github.com/rhufsky/nextui-demo.git

Steps to Reproduce the Bug or Issue

Click on datepicker icon.

Expected behavior

Datepicker should open without errors.

Screenshots or Videos

No response

Operating System Version

MacOS

Browser

Chrome

@mikeyamato
Copy link

Also happening with React 18.3.1.

@slothgeek
Copy link

same bug to me. Im using individual instalation of calendar

@JadonLee8
Copy link

Also happened to me with 18.3.1 and individual installation

@Scoteezy
Copy link

Has anyone fixed this?

@irvanhanif
Copy link

from tailwindlabs/headlessui#3351 (comment) , say it only occurs in development mode. idk why, it happen in dev mode

Has anyone fixed this?

@yuriiIykyknow
Copy link

The same issue
"next": "^15.0.3",
"@nextui-org/date-picker": "^2.1.8",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants