Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(menuBar): Fix hovering consecutive nested menus. #7361

Conversation

topherfangio
Copy link
Contributor

Fix issue where hovering two consecutive nested menus would not properly open the second nested menu.

Also adds a test and fixes an issue where the focusMenu() method of the menu bar controller would not focus the first menu if none was already selected.

Fixes #6685.

@topherfangio topherfangio added the needs: review This PR is waiting on review from the team label Mar 1, 2016
@topherfangio topherfangio added this to the 1.0.6 milestone Mar 1, 2016
$timeout = _$timeout_;
$animate = _$animate_;
}));

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can likely use $material.flushInterimElement() instead

@topherfangio topherfangio force-pushed the fix-menubar-adjacent-submenus-6685 branch from 0a939ee to ba0e127 Compare March 1, 2016 18:49
Fix issue where hovering two consecutive nested menus would not
properly open the second nested menu.

Also adds a test and fixes an issue where the focusMenu() method
of the menu bar controller would not focus the first menu if none
was already selected.

Fixes angular#6685.
@topherfangio topherfangio force-pushed the fix-menubar-adjacent-submenus-6685 branch from ba0e127 to c750df5 Compare March 1, 2016 18:51
@topherfangio topherfangio added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Mar 1, 2016
ThomasBurleson pushed a commit that referenced this pull request Mar 2, 2016
Fix issue where hovering two consecutive nested menus would not
properly open the second nested menu.

Also adds a test and fixes an issue where the focusMenu() method
of the menu bar controller would not focus the first menu if none
was already selected.

Fixes #6685.

  Closes #7361
@topherfangio topherfangio deleted the fix-menubar-adjacent-submenus-6685 branch April 18, 2016 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-menu not opening adjacent submenus on hover.
3 participants