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
You'd need to use Dropdown itself to control the isOpen state of the dropdowns to close them all when an item is clicked within a nested dropdown.
There are also some styling issues, such as the outline and dropdown-item's padding not being clickable to toggle the nested dropdown. Those can be fixed with some custom styles.
We do support nested/multiple modals which bootstrap does not support. If someone wanted to open a PR which supports nested dropdowns, I would consider it. I imagine you'd have to use react's context api to provide the children with the parent's toggle function so that it could be called when the child calls its toggle. This would make it recursive when closing.
Hello,
I want to create a multilevel uncontrolled dropdown menu (dropdown inside of dropdown) that opens on hover, how can I achieve that?
Regards
The text was updated successfully, but these errors were encountered: