Sidebar treeview menu opened and reclosed automatically
See original GitHub issueThe issue was also reported in issue https://github.com/almasaeed2010/AdminLTE/issues/1053
The issue was fixed in PR https://github.com/almasaeed2010/AdminLTE/pull/729
However, I saw the (supposed unworking) code was reintroduced in 2.3.3
release.
I manually changed and the problematic behavior is corrected.
This is the exact duplicate of PR https://github.com/almasaeed2010/AdminLTE/pull/1001
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to Close Sidebar menu dropdown when the user opens ...
What I want to do is in sidebar when dropdown is opened and user wants to open second dropdown the first one closes...
Read more >AdminLTE 3 expend menu doesn't close/collapsed when ...
Right now all menu items are opening one by one and they can only be closed by clicking on the item again. any...
Read more >Main Sidebar Component | AdminLTE 3 Documentation
Main Sidebar Component. The sidebar used in this page to the left provides an example of what your sidebar would look like. Construction...
Read more >How to Open and Close the Sidebar in Angular ... - Syncfusion
Opening and closing the Sidebar can be achieved with built-in public methods. show() : Method to open the Sidebar. hide() : Method to...
Read more >How To Create a Collapsed Sidebar - W3Schools
How TO - Collapse Sidebar. ❮ Previous Next ❯. Learn how to create a collapsible sidebar menu. ... Click on the button to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I want to use this great repo, but with turbolinks for performances and I had the same problem as above. After reading different issue raised in this repo, I finally found that:
$.AdminLTE.pushMenu.activate()
and$.AdminLTE.layout.activate()
that ends on the result above. Then if you change view without refreshing the page, turbolinks make quicker application of assets and remove one of these listener that ends on the perfect result.if (options.sidebarPushMenu)
so you solve the issue of when you refresh the page, but then on a turbolinks load, it removes this single event and don’t apply theprevent default
so the button become a simple link to the same page.It seems the issue happen for all collapsable buttons. So I wonder if we can still make this work (so close for making this work for good). @almasaeed2010 any idea?
good afternoon I have the latest version and still have the same problem, by clicking on the menu tree it opens and closes without reason