This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 1 year, 1 month ago.

Collapse Horizontal Menu automatically on clicking a menu item

  • lesleyjudy

    Member Reply #17845

    I am using version 4.7.5, Admin 3 template. Please see the attached PNG file.

    We use AngularJS 1.5. When I click on a (horizontal) menu item, the expanded menu continue to stay on screen even after the new page is loaded. I have to move my mouse cursor away from the menu in order for it to go away.

    I wonder if I can call a javascript function (via the click event etc.) or dynamically remove/add any class so that the menu automatically collapse after clicking an item?

    I notice this same issues for other templates too including admin 3 AngularJS.

    Thank you for reading this message!!

    You must be logged in to view attached files.

    Posts: 4527
    Support Staff Reply #17906


    Are you using Metronic 4.7.5 Angular version ? Or you are trying to use Metronic v4.7.5 with Angular ?

    If you are build your own angular version then you can refer to Metronic’s angular implementation. You can see there how Metronic base jquery code in called to initialize the layout.


    Just a friendly reminder: Seems your support subscription is expired and if you wish to get any further theme support you will need to renew your support subscription. For further check please go to Metronic purchase page

    For more info please check: or


You must be logged in to reply to this topic.