bug(list): list item with activated state miss background color
- 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
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla riproduzione collegata su StackBlitz e ispeziona lo stile dello stato attivato di mat-nav-list. Confrontalo con l’esempio collegato di elenco di Material Components, quindi verifica che un elemento attivato mostri sia il colore di sfondo previsto sia il colore del testo primario.
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