Skip to content

Conversation

@andrewseguin
Copy link
Contributor

The selector for MatChipAvatar is: 'mat-chip-avatar, [matChipAvatar]'

Chips are selecting [mat-chip-avatar] instead of mat-chip-avatar, causing incorrect styling on the rendered chips

@andrewseguin andrewseguin added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Aug 8, 2019
@andrewseguin andrewseguin requested a review from mmalerba as a code owner August 8, 2019 18:06
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 8, 2019
@andrewseguin andrewseguin added the merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed label Aug 8, 2019
</svg>
<div class="mdc-chip__text"><ng-content></ng-content></div>
<ng-content select="[mat-chip-trailing-icon],[matChipRemove],[matChipTrailingIcon]"></ng-content>
<ng-content select="[mat-chip-trailing-icon],[matChipRemove],[matChipTrailingIcon]"></ng-content>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to remove the square brackets around [mat-chip-trailing-icon] as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes good catch, just made that change as well

@andrewseguin andrewseguin changed the title fix incorrect selector for mdc-chip-avatar fix(material-experimental/mdc-chips): incorrect selector for mdc-chip-avatar Aug 8, 2019
@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Aug 8, 2019
@mmalerba mmalerba merged commit 2994365 into angular:master Aug 8, 2019
mmalerba pushed a commit that referenced this pull request Aug 14, 2019
@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 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants