Skip to content

Issues with lazy rendered nested menus #9987

Closed
@OmarAlmootassem

Description

@OmarAlmootassem

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When hovering on a menu item that has a submenu, the submenu should open.
When clicking on a menu item with a submenu, then clicking another menu item with a submenu, the original submenu should close completely

What is the current behavior?

Hovering on a menu item with a submenu does not open submenu.
Clicking on an item with a submenu opens the submenu.
Clicking on another item with a submenu does not completely close the original submenu and doesn't remove the focus from the other menu item.

What are the steps to reproduce?

Open the menu and click on Nested 1, then Nested 2
Plunker Template: http://plnkr.co/edit/0I8C8RbhvyoEjEoLZksz?p=preview

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

To support dynamic nested menus

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

Angular CLI: 1.6.7
Node: 8.9.4
OS: win32 x64
Angular: 5.2.4

angular/cdk: 5.2.0
angular/cli: 1.6.7
angular/flex-layout: 2.0.0-beta.12
angular/material: 5.2.0
angular-devkit/build-optimizer: 0.0.42
angular-devkit/core: 0.0.29
angular-devkit/schematics: 0.0.52
ngtools/json-schema: 1.1.0
ngtools/webpack: 1.9.7
schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

The plunker demo uses the 6.0.0 beta release

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

GThis is is related to a Google internal issueP3An 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