Base solution for your next web application
Open Closed

Main-menu-panel-is-not-collapsing-when-we-click-on-the-toggle-icon #12284


User avatar
0
csona created

Hi Team, I am using the aspnet zero version 11.2.1 (Angular + .Net Core) and the problem we are facing is when we click on the toggle button to collapse the main menu, it is not collapsing the main menu. I am attaching the short screen record video just to show the issue.


6 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @csona

    Is there any error message regarding this situation on the console screen? Can you share this? Also, can you share with us the content of the handleToggle method in the sidebar.min.js file?

  • User Avatar
    0
    csona created

    Hi @oguzhanagir

    There is no any error on console screen. I am not able to find the sidebar.min.js file in my solution, can you please tell me the path for that file.

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @csona

    This file does not exist in this version, my mistake. We could not reproduce this problem in the relevant version and in the final version. You can share your project at [email protected] e-mail address.

  • User Avatar
    0
    csona created

    Hi @oguzhanagir,

    I can not send you the full project , do you have any other solution for that?

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @csona

    Make sure to add the "data-kt-aside-minimize=on" attribute to the body tag. If it is added, check the CSS styles created for this attribute. These css styles are located here: assets/metronic/themes/default/css/style.bundle.css.

  • User Avatar
    0
    csona created

    Hi @oguzhanagir ,

    Thanks for your reply, but the issue was something else, I am able to fix that. It is because we have made some wrong merge changes while migrating angular app from aspnet zero 10.2 to 11.2.