Closed adamkenway007 closed 5 years ago
You will probably have to write your own jquery function to do that work and remove the menu-open class from the previous treeview
You only need to add or change the data-accordion
to true
beside data-widget="treeview"
like
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="true">
...
</ul>
Environment:
Description:
as default adminlte3-dev make treeview always open when clicked and close if clicked again at same place but my problem it's my first treeview won't close if i click at another treeview
i wish i can make it same as default feature adminlte2 which will work on adminlte3 sorry for my bad english