You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
Invalid prop children supplied to ReactOverlaysDropdown, expected a ReactNode. #925
Looks like docs need to be updated for v5. Dropdown just takes a regular node as children now, not a function. There are also some other API changes regarding what useDropdownMenu returns.
Activity
kyletsang commentedon Mar 4, 2021
Looks like docs need to be updated for v5. Dropdown just takes a regular node as children now, not a function. There are also some other API changes regarding what
useDropdownMenureturns.Here's a working example for v5:
https://codesandbox.io/s/react-playground-forked-y4ep0?file=/DropDownBar.js
soetji commentedon Sep 27, 2021
Can someone update the docs?