This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 4 weeks, 1 day ago.

Collapse Horizontal Menu automatically on clicking a menu item


  • lesleyjudy
    Participant

    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!!

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4481
    Support Staff Reply #17906

    Hi,

    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 http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes

    For more info please check:
    https://help.market.envato.com/hc/en-us/articles/208191263-What-is-Item-Support- or http://themeforest.net/page/item_support_policy

    Thanks.

You must be logged in to reply to this topic.