Nested mat-menu (sub-item) disappeared.
See original GitHub issueBug, feature request, or proposal:
bug
What is the expected behavior?
Submenu of mat-menu
should not hide when moving mouse over it.
What is the current behavior?
When moving mouse over sub menu, it disappear but if i downgrade to v5.2.0
It worked.
What are the steps to reproduce?
I’ve reproduced at stackblitz
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.2.6 Material: 5.2.2
Is there anything else we should know?
Take a look:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Dynamic nested Material menu from json object in Angular 5
I tried building it running *ngFor like this for main menu and then separate on each sub menu but it ended in errors....
Read more >A seamless guide on Angular Material Menu Component
It is quite simple to create nested menus or sub-menus. Using the matmenutriggerFor attribute, we have to add another menu to the mat-menu-item....
Read more >Angular Material Nested Menu Working Tutorial - Therichpost
//Import Angular Material Toolbar and its related modules like menu icon, buttons; import {MatToolbarModule} from '@angular/material/ ...
Read more >Angular Material Menu - Nested Menu using Dynamic Data
We will first learn the basics of Angular Material Menu and how to render a nested menu with a static HTML template. Then...
Read more >Relationship of grid layout to other layout methods - CSS
I have five child items in my container, and I have given the flex ... the box for that item vanishes and the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see what you mean now. The issue was introduced in https://github.com/angular/material2/pull/9971 which caused the top-level menu to pick up the items inside the submenu as its own.
@crisbeto, I was able to reproduce this issue in a template from the docs site: https://stackblitz.com/edit/angular-material-nested-submenu-nwwsr6