bug(chips): MatChipListbox with hideSingleSelectionIndicator does not hide selection indicator on options that have matChipAvatar
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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
Guía de contribución
Línea de trabajo
Comience con la reproducción enlazada de StackBlitz y siga los puntos de entrada de MatChipListbox, MatChipOption y MatChipAvatar en el repositorio de componentes de Angular. Reproduzca la selección con hideSingleSelectionIndicator habilitado y, a continuación, verifique que el indicador esté ausente para una opción que contenga un MatChipAvatar.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100