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)
-
0
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.
-
0
Okay great. Thanks for the quick reply!
-
0
Hi,
We had some priority changes. We will deal with next week.
Just wanted to let you know.