Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Administration Menu Is buggy #1712


User avatar
0
rickwheeler created

Hi,

I haven't been able to figure out how to fix this yet. I tried to find a solution for you but couldn't so perhaps you can help.

The "active" state on the administration menu seems a little buggy. Here are the steps to replicate with a fresh install of ABP Zero.

I'm using the SPA/Angular version of Zero.

  • Log in as admin, the tenants screen is shown. Notice on the left there is a solid blue border showing.

  • Click "Administration", the admin menu drops down.

  • Click "Organization Units". Notice how the administration is now collapsed (It shouldn't be collapsed), there are no menu items highlighed and nothing with a solid blue border on the left.

  • Click "Administration" again

  • Click "Roles". Notice that Administration menu is now highlighed with a solid blue border on the left.

  • Click "Users". The menu continues to stay as highlighted.

  • Click "Tenants". Notice how there are now TWO menu items highlighted!

  • Click "Editions". The admin menu collapses and only one menu item is highlighed now.

  • An item under the admin menu needs to be clicked twice in order for it to be highlighted

  • The admin menu should not collapse after clicking the first item

  • The admin menu should not stay highlighted after click back to tenants/editions

The issue appears to have something to do with angular ui router and $state as well as the ui-sref-active directive. I'd say it has something to do with the nested nature of the menu but unfortunately I haven't been able to figure out what is causing this.

Can you please investigate this problem?


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We have an issue about this bug. Please follow <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/322">https://github.com/aspnetzero/aspnet-zero/issues/322</a>. Probably, it will be fixed in a few days.

  • User Avatar
    0
    rickwheeler created

    Okay great. Thanks for the quick reply!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We had some priority changes. We will deal with next week.

    Just wanted to let you know.