Skip to content

Lazy rendering Mat-Menu, not correctly creating #11331

@ghost

Description

Bug, feature request, or proposal:

Bug

What is the expected behavior?

matMenuContent should not be added again

What is the current behavior?

If you click the button quickly, the menu is re-added
menubug

What are the steps to reproduce?

https://stackblitz.com/edit/angular-czk5cg

What is the use-case or motivation for changing an existing behavior?

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

Angular CLI: 6.0.0
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0
Browsers: Chrome, Firefox.. All browsers.

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions