-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided
Description
Bug, feature request, or proposal:
I've tested with the latest changes from #6766, but this is still not fixed.
What is the expected behavior?
It should be possible to create a nested menu from a JSON object without knowing the menu's depth in advance.
What is the current behavior?
You can't, because the recursive templates seem to cause issues with the nested menu.
What are the steps to reproduce?
Had to use StackBlitz instead of Plunkr, because Plunkr's having issues.
StackBlitz: https://stackblitz.com/edit/angular-material2-issue-7p1tik
Note: Since StackBlitz is using the NPM version, and not the snapshot build, even the non-recursive version requires you to click to expand sub-menus rather than hover.
What is the use-case or motivation for changing an existing behavior?
It'd be nice to be able to define a single JSON object describing a nested menu structure.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All.
Is there anything else we should know?
MagnusBrzenk and ivanivanyuk1993axelot
Metadata
Metadata
Assignees
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided