Skip to content

please add md-divider to md-menu #2017

Closed

Description

@riankol

Bug, feature request, or proposal:

feature request

What is the expected behavior?

I would like to use a md-menu-divider, or make the existing md-divider work within md-menu. This is not in the design doc, but it will be very handy.

What is the current behavior?

There isn't one available.

What are the steps to reproduce?

I would like one just like in md-list, the md-divider

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

At the moment I use an <hr/> element to have a divider in the menu, but the original styling of the <hr/> element isn't very nice, so I have to add styling to the element. A md-menu-divider with the same styling as the md-divider will be a prefered.

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

Angular Material 2.0.0-alpha-10

Activity

  1. added
    feature
    on Nov 30, 2016
  2. jelbourn commented on Nov 30, 2016

    @jelbourn
    Contributor

    @kara is this something you wanted to add?

  3. bradrich commented on Jan 26, 2017

    @bradrich

    @riankol In the meantime, you could use a standard HTML hr element.

  4. andreasrueedlinger commented on May 2, 2017

    @andreasrueedlinger

    What is the intended use of md-divider? Just for md-list? Because it might as well be useful in md-card?
    With the current version you can use md-divider also outside of md-list but it is only shown if list.css is loaded.
    Is it possible to move the divider css to a file which is loaded in all use cases?

  5. angular-automatic-lock-bot commented on Sep 8, 2019

    @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.

  6. locked and limited conversation to collaborators on Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions