Hi-first please forgive as I am new to web app development. I’m using Metronic in an Angular SPA app. The main dashboard page is loaded into index.html with ui-router, and files are loaded with ocLazyLoad. The content area of the dashboard page is a nested view, e.g. when the user clicks a navbar link, the state changes to whatever nested view they click. Right now, when I click a main menu item in the navbar, it animates and displays the sub menu items, but then immediately hides the sub menu items (with no additional clicks). If I comment the <div ui-view></div> part of the dashboard template, the problem goes away (but then the content view is not rendered obviously).
I suspect you included/called layout.js and app.js or metronic.js scripts more than once. Please try to double check your code and make sure you followed the code from the original theme source.
If you need any further help please let us know.
You must be logged in to reply to this topic.