Collapse a menu option

I need a way that the menu only opens a single option, if you have an option open and click on another, just the clicked one remains open. It is possible?
4 Replies
Patrick Boivin
Patrick Boivin11mo ago
You would like the Panel's main menu to function a bit like an "accordion"?
Maagalhaes
Maagalhaes11mo ago
Yes that's right. Currently I create everything via Resource and pass the navigationGroup to them.
Patrick Boivin
Patrick Boivin11mo ago
Interesting idea. I'm not sure exactly how this could be done but it will require custom JS code. Maybe start by looking at how the collapsible groups work an see if you can collapse all groups from an external <button> element?
Maagalhaes
Maagalhaes11mo ago
Right. I'll check what I can do to fix this. Thanks.
Want results from more Discord servers?
Add your server
More Posts