The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)

 
Deleted comment
 
Deleted comment

You're welcome! I'm glad I could help. If you have any other questions or concerns, feel free to ask.



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.



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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.