Skip to content

Menu: Elevation is 2dp instead of 8dp #9409

@henev

Description

@henev

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Elevation of the Menu component should be 8dp as per the official material design documentation for elevation and shadows. Sub menus have elevation of 9dp (+1 dp for each sub menu)

Menus and sub menus
Menus: 8dp
Sub menus: 9dp (+1 dp for each sub menu)

What is the current behavior?

Menu has 2dp elevation and sub menus have 3+dp.

What are the steps to reproduce?

  1. Open project documentation
  2. Go to Component -> Menu
  3. Open first menu example
  4. Inspect element and check classes on .mat-menu-panel

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

If this library is following Google Material Design it should reflect it correctly in every aspect or at least provide option to change elevation.

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

  • Angular 5.1.0
  • Material 5.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions