bug(list): list item with activated state miss background color
- 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
Hi there,
When using `mat-nav-list` with items that have an activated state, the primary color is applied on the activated item but the background color is missing.
### Reproduction
https://stackblitz.com/edit/angular-aovyvr
### Expected Behavior
Having same behavior than : https://material-components.github.io/material-components-web-catalog/#/component/list
(Scroll to "List with activated item" section and click on any list item)
### Actual Behavior
Only the font color is applied
### Environment
- Angular: 15.2.6
- CDK/Material: 15.2.6
- Browser(s): Chrome 112
- Operating System (e.g. Windows, macOS, Ubuntu): Any
Guía de contribución
Línea de trabajo
Comienza con la reproducción enlazada en StackBlitz e inspecciona el estilo del estado activado de mat-nav-list. Compáralo con el ejemplo enlazado de listas de Material Components y verifica después que un elemento activado muestre tanto el color de fondo esperado como el color de texto primario.
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