Skip to content

Creating incorrectly lazy-rendering MatMenu #15166

@acteralex

Description

@acteralex

What is the expected behavior?

The mat-menu is rendered with sub-menu.
A sub-menu should be visible after hovering on mat-menu-item exists [matMenuTriggerFor].
mat-menu

What is the current behavior?

The mat-menu component is rendered without arrow (to show the active mat-menu-item has sub-menu). But If you click on the element which has sub-menu, menu will appear and disappear once time.

What are the steps to reproduce?

Look here please https://stackblitz.com/edit/angular-bzbtmd

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular version 7.2.2
Angular Material version 7.2.2
OS Windows 70
TypeScript 3.2.4
browsers are affected? No

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions