nextui-org/nextui

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

Opened this issue · 7 comments

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

Also happening with React 18.3.1.

same bug to me. Im using individual instalation of calendar

Also happened to me with 18.3.1 and individual installation

Has anyone fixed this?

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

Has anyone fixed this?

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