bug(chips): MatChipListbox with hideSingleSelectionIndicator does not hide selection indicator on options that have matChipAvatar
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla riproduzione StackBlitz collegata e segui i punti di ingresso di MatChipListbox, MatChipOption e MatChipAvatar nel repository dei componenti Angular. Riproduci la selezione con hideSingleSelectionIndicator abilitato, quindi verifica che l'indicatore sia assente per un'opzione contenente un MatChipAvatar.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100