nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
22k stars 1.54k forks source link

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

Open rhufsky opened 2 hours ago

rhufsky commented 2 hours ago

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 proprefsupplied toReact.Fragment. React.Fragment can only havekeyandchildrenprops.

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

linear[bot] commented 2 hours ago

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