-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Bug, feature request, or proposal:
Just like dialogs, menus should be more configurable regarding their behaviour.
It's right now possible to stop menus from overlapping their trigger, but still the behaviour is not following material guidelines.
Removing backdrops might be a solution.
What is the expected behavior?
- Click on trigger button should open menu (with or without overlapping it)
- (If visible) Hover over trigger button with menu open should have the same behaviour as with menu closed
- Dismiss a menu by tapping outside of the menu, or by tapping the emitting button (if visible). (https://material.io/guidelines/components/menus.html#menus-behavior)
What is the current behavior?
Backdrops are disabling the whole behaviour regarding emitting buttons
What are the steps to reproduce?
https://stackblitz.com/edit/angular-bcfxwg
What is the use-case or motivation for changing an existing behavior?
Help us follow the guidelines bro!
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix