firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.12k stars 184 forks source link

Warning: Function components cannot be given refs. #637

Closed VisetDev closed 1 week ago

VisetDev commented 3 months ago

When trying to select any element from any collection I got:

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

Check the render method of SlotClone. at o (http://localhost:5001/node_modules/.vite/deps/@firecms_cloud.js?v=b4d01b98:39322:12) at http://localhost:5001/node_modules/.vite/deps/@firecms_cloud.js?v=b4d01b98:5890:11 at http://localhost:5001/node_modules/.vite/deps/@firecms_cloud.js?v=b4d01b98:5867:11 at http://localhost:5001/node_modules/.vite/deps/@firecms_cloud.js?v=b4d01b98:5959:13 [...]

The warning arises when selecting the checkbox:

image

It breaks the view. next time I open the collection, state does not reflects selected and the table looks wrong:

image

fgatti675 commented 1 week ago

Could not reproduce in latest version!