Skip to content

bug(chips): MatChipListbox with hideSingleSelectionIndicator does not hide selection indicator on options that have matChipAvatar #29470

Open
@jermowery

Description

@jermowery

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

MatChipListbox hideSingleSelectionIndicator is not hiding the single selection indicator when a MatChipOption has a MatChipAvatar child

Reproduction

StackBlitz link: https://stackblitz.com/edit/components-issue-rcxta6?file=src%2Fapp%2Fexample-component.html
Steps to reproduce:

  1. Have a MatChipListbox with a MatChipOption where the MatChipOption has as MatChipAvatar
  2. Set hideSingleSelectionIndicator="true" on the MatChipListbox
  3. Click the option from (1)
  4. The selection indicator will be there

Expected Behavior

The single selection indicator should not appear

Actual Behavior

The single selection indicator does appear

Environment

  • Angular: Latest
  • CDK/Material: Latest
  • Browser(s): All
  • Operating System (e.g. Windows, macOS, Ubuntu): All

Metadata

Metadata

Assignees

No one assigned

    Labels

    GThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions