material icon indicating copy to clipboard operation
material copied to clipboard

md-menu-bar consecutive menu options with child menus don't open

Open jraadt opened this issue 10 years ago • 6 comments

@rschmukler - The fix you made in https://github.com/angular/material/issues/6184 fixed that problem (thanks for doing that so quickly!), but I believe it has caused a new bug now. If you have multiple menu options that have child menus, one after the other, then only every other child menu opens.

In the following codepen under the File menu I have options New1, New2, and New3 that all have child options. Mouse over them in order and you'll see only New1 and New3 child menus open. However, if you start with New2, then that will open and New3 wont open.

http://codepen.io/anon/pen/YwweKO

jraadt avatar Dec 16 '15 04:12 jraadt

+1. I think this might be related to the transition for the sub menu.

I notice that whenever that sub menu's transition hasn't finished (it's still fading out) and I hover over another option with children it won't trigger. If I start on an option that has no children, therefore no transition, and move to an option with children, the sub menu is shown correctly.

chrisconover avatar Dec 18 '15 22:12 chrisconover

@chrisconover Yep that seems to be it. Not sure what the fix is, but that seems to be the issue.

jraadt avatar Dec 18 '15 22:12 jraadt

@rschmukler since you recently touched this code, does this seem like a reasonable theory for the problem?

chrisconover avatar Jan 04 '16 22:01 chrisconover

@ThomasBurleson any chance someone will be able to take a quick look at this?

chrisconover avatar Jan 15 '16 00:01 chrisconover

+1

hulyav avatar Jan 21 '16 12:01 hulyav

#7019 seems to be the same problem.

daviian avatar Feb 04 '16 16:02 daviian