You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nested menus bug: parent menu-item left focused after click (onPush) #6838
Bug: When using onPush strategy, in nested menus, the parent is left focused after click even after mouse is not hovering anymore and its submenu is closed.
What is the expected behavior?
Items should be only focused when their submenu is open.
What is the current behavior?
In the following gif, I first hover over items and submenus open and close normally. Then I click on Item 2, and hover on Item 3. Item 2 is left focused even if the submenu has been closed (after mouseleave). Same thing is visible for Item 3: when clicked, it stays focused until another item is clicked.
What are the steps to reproduce?
The given plunkr template (https://goo.gl/DlHd6U) did not load but instead was giving me some 404 errors for steppers (any idea why?). But it's easy to reproduce with this html AND using onPush in ts:
Activity
fix(menu): nested trigger staying highlighted after click
fix(menu): nested trigger staying highlighted after click
fix(menu): nested trigger staying highlighted after click
fix(menu): nested trigger staying highlighted after click
fix(menu): nested trigger staying highlighted after click (#6853)
fix(menu): nested trigger staying highlighted after click (angular#6853)
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.