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

md-menu async support #4687

@jb29

Description

@jb29

Hi,

I want to load md-menu-items asynchronously when the user clicks on a button to open a md-menu.

Everything works fine if I have at least 1 item in my array of menu items before the user opens the menu. See this codepen for an example.

But if the array is empty when the user opens the menu, I get an invisible md-backdrop covering the whole screen which prevents any further user interactions.
Open this codepen and click on the button to reproduce this bug.

Tested with angular-material version 0.11.0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions