gentelella
gentelella copied to clipboard
sidebar menu dropdown not working
I am trying to use the template for a react app. But everything seems to be working. except the sidebar-menu
When i inspect the <a>
tag in the sidebar-menu
it doesn't have any event listeners from custom.min.js
whereas other custom event listeners like the one for collapse-link
works fine.
any idea, why this happens?
@varunrayen Hello, are you still experiencing this issue?
Hello, thank you for asking, and yes the issue is still present
Could you please describe the problem with more info? For example, is the sidebar-menu not working at all or just the the multilevel part ? Do you have any errors in the console?
Think I found the issue you were facing and a fix will be available soon. Thankyou
You can use event listener in your app.
In gentelella it was not required. Here Jquery and Java-script predefined methods are used with reference to class name. You can check custom.js, Where “removeClass(), slideUp()” are use to handle sidebar menu.
Feel free to comment on this issue if you're still facing problems and we'll reopen.
Still facing the issue. Neither the the sidebar is expanding towards right nor the dropdown in sidebar working.
Still facing the issue. Neither the the sidebar is expanding towards right nor the dropdown in sidebar working.
Sorry, the issue was the placement of scripts. It should be right before the end of body </body>
not in the head. Thanks though.
cc @sublimedatasys