Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please add md-divider to md-menu #2017

Closed
riankol opened this issue Nov 29, 2016 · 4 comments · Fixed by #5862
Closed

please add md-divider to md-menu #2017

riankol opened this issue Nov 29, 2016 · 4 comments · Fixed by #5862
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix

Comments

@riankol
Copy link

riankol commented Nov 29, 2016

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

@jelbourn jelbourn added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Nov 30, 2016
@jelbourn
Copy link
Member

@kara is this something you wanted to add?

@bradrich
Copy link

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

@andreasrueedlinger
Copy link

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?

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants