Skip to content

Menus/Selects/ExpansionPanel should follow Material guidelines #3814

Closed

Description

@Ploppy3

Bug:

What is the expected behavior?

The components should follow the Material guidelines

What is the current behavior?

For Menu/Select/ExpansionPanel:

  • Shadows seem incorrect
  • Missing border-radius

For Menu/Select:

  • Wrong animations.

Current Menu animation:
image

Menu Animation according to the Material Guidelines:
image

Current Select animation:
image

Select Animation according to the Material Guidelines:
image

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

Material 5.0.0-rc0

Activity

  1. added
    P3
    on May 1, 2017
  2. added a commit that references this issue on Jul 6, 2017
  3. Ploppy3 commented on Nov 15, 2017

    @Ploppy3
    Author

    @crisbeto Is it also possible to apply the same fixes to the Expansion Panel, missing border radius, wrong shadows, and separator hardly visible :
    image
    (from material guidelines)

  4. changed the title [-]Menus & Selects open animations are incorrect according to the Material Guidelines.[/-] [+]Menus/Selects/ExpansionPanel should follow Material guidelines[/+] on Nov 20, 2017
  5. Ploppy3 commented on Nov 20, 2017

    @Ploppy3
    Author

    @crisbeto Update the issue so that it concerns the 3 components.

  6. thw0rted commented on Jan 9, 2018

    @thw0rted

    I am also looking to style the Expansion Panel's description (while collapsed) in line with how the spec presents it. I don't think the spec ever actually states that the description portion of multiple panels in the same "group" (grouping of multiple panels is also never specifically mentioned in the spec...) must align in a column with each other, but each example image does exhibit this behavior.

    The current implementation just allows each panel's title and description fields to resize according to their content, which means that the descriptions will never line up with each other. This can be seen in the docs examples and gets really pronounced with many panels of varying title width. I have used a variant of the fix described in #5173 (flex-basis: 0) but the fundamental problem is that you have to know ahead of time approximately how large your title content will be, because you still either accept the default title width (which is small) or need to define a min-width manually. I don't see a clean way to automatically select a common title width among all grouped panels, but would love to be proven wrong.

  7. added
    area: many
    on Jun 11, 2020
  8. crisbeto commented on Jun 23, 2025

    @crisbeto
    Member

    Closing this one, because the components have changed significantly since the issue was opened and we now depend on the tokens directly from Material.

  9. angular-automatic-lock-bot commented on Jul 24, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  10. locked and limited conversation to collaborators on Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area: many

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions