Components: please add md-divider to md-menu

Created on 29 Nov 2016  路  4Comments  路  Source: angular/components

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

feature

Most helpful comment

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?

All 4 comments

@kara is this something you wanted to add?

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

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?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

3mp3ri0r picture 3mp3ri0r  路  3Comments

theunreal picture theunreal  路  3Comments

kara picture kara  路  3Comments

vitaly-t picture vitaly-t  路  3Comments

alanpurple picture alanpurple  路  3Comments