Skip to content

Add a mat-menu-group so that we can open (new) and close (old) menus on a single click. #16036

@andreElrico

Description

@andreElrico

Please describe the feature you would like to request.

Similar has been asked HERE:

For the same reason we have mat-accordion wrapping expansion-panel we need mat-menu-group wrapping mat-menu-trigger.

Currently we have to click 2 times when a menu is already open and we want to open a new one. This feels unnatural to me.

A wrapping instance could control the closing and opening of its menu children.

  1. JQUERY EXAMPLE (desired behaviour)
  2. CURRENT MAT-MENU (no fluid skimming possible.)

What is the use-case or motivation for this proposal?

Definitely this would provide a better and more fluid UX if we can skim through the menus inside of a mat-menu-group. I like the idea of the backdrop that should still be there OUTSIDE of the mat-menu-group.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/menufeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions