Skip to content

feat(divider): move divider out of mat-list #5524

Closed
@CaerusKaru

Description

@CaerusKaru

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

Pursuant to the spec, dividers are used in areas other than plain lists, most notably in cards.

What is the current behavior?

Using mat-divider requires MatList, even when used in other components.

What are the steps to reproduce?

  1. Try to use mat-divider without importing MatListModule

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

There should be an ability, like in AngularJS Material, to use mat-divider without relying on MatList. This would also be a great opportunity to implement the inset divider, would close #2017, and open up an opportunity to implement the vertical (or at least responsive) option that was in Material 1.0.

Obviously not a priority, but a nice to have feature.

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

All current as of 7/5/2017 (@angular/material@beta.7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceeding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions