-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionshelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug, feature request, or proposal:
It's a bug.
What is the expected behavior?
I would expect <mat-icon color="accent">
in my menu item to respect the color attribute while it is inside of its parent tag.
What is the current behavior?
It does not apply the color, here is a screenshot with comparison between <button mat-button>
which respects the attribute and <button mat-menu-item>
which does not.
What are the steps to reproduce?
Here is a bit edited mat-menu plunker with the problem displayed link
What is the use-case or motivation for changing an existing behavior?
I think it should be repaired, since the <mat-icon>
explicitly supports coloring with color attribute.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular v5.0.2
@angular/cdk v5.0.0-rc.1
@angular/material v5.0.0-rc.1
TypeScript v2.4.2
IE 11, Firefox 57, Chrome 62
dhrn
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionshelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue