Metronic Angular Demo 1 Sideber Toggle Mobile Not Working
Demo url works but not when i download it. So I can't use the mobile menu.
https://preview.keenthemes.com/metronic8/angular/demo1/dashboard
Replies (5)
Hello Serdar Güler,
We apologize for any inconvenience caused by the issue you've encountered. Our team is actively working on resolving this issue, and we plan to include the fix in the upcoming update. Thank you for bringing this to our attention.
Please let us know if you have any further questions or concerns, and we'll be happy to assist you.
Thank you for your patience and understanding.
Best regards,
Is it possible for you to edit it and forward it to me in advance? We want to use it in our project.
Hello,
To implement the above change, you can follow these steps:
- Open the file /demo1/src/app/_metronic/layout/layout.component.ts
- Locate the updateSidebar()
function inside the LayoutComponent class.
- Add the following code snippet inside the updateSidebar()
function, at the appropriate position:
if (this.appSidebarDefaultDrawerEnabled) {
this.appSidebarDefaultDrawerAttributes = this.layout.getProp(
'app.sidebar.default.drawer.attributes',
config
) as { [attrName: string]: string };
}
- Save the file.
I hope this helps! Let me know if you have any other questions.
Thanks.
Hello,
Thank you so much this solved my problem.
You're welcome! I'm glad I could help. If you have any other questions or concerns, feel free to ask.