nextui-org / nextui

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

[BUG] - Invalid prop `ref` supplied to `React.Fragment` when using next.js 15 #3930

Open kevinrss01 opened 2 hours ago

kevinrss01 commented 2 hours ago

NextUI Version

2.4.8

Describe the bug

When using the Calendar Components in my next.js app (15.0.0). I have an error Invalid proprefsupplied toReact.Fragment. React.Fragment can only havekeyandchildrenprops.

Your Example Website or App

https://stackblitz.com/~/github.com/kevinrss01/bug-nextjs

Steps to Reproduce the Bug or Issue

Just start the app and the error will show up

Expected behavior

No error displayed on the screen

Screenshots or Videos

Screenshot 2024-10-22 at 13 21 56

Operating System Version

macOS

Browser

Chrome

linear[bot] commented 2 hours ago

ENG-1485 [BUG] - Invalid prop `ref` supplied to `React.Fragment` when using next.js 15