bug(mat-navigation-list): Navigation List active items should have on-secondary-container color
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Description
Currently, Navigation List active item has a secondary-container background, but does not use on-secondary-container color, which we find erroneous
### Reproduction
https://material.angular.dev/components/list/examples#list-navigation
### Expected Behavior
Navigation List active items should have color of on-secondary-container, since they have a background color of secondary-container
### Actual Behavior
Navigation List items do not update their color when set to active and remain on-surface even though their background is no longer surface
### Environment
- Angular: v21
- CDK/Material: v21
- Browser(s): any
- Operating System (e.g. Windows, macOS, Ubuntu): any
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Apri l'esempio Navigation List all'indirizzo material.angular.dev/components/list/examples#list-navigation e verifica come viene applicato lo stile all'elemento attivo. Il lavoro è completato quando un elemento attivo mantiene lo sfondo secondary-container e usa il colore on-secondary-container invece di on-surface; verifica il comportamento dell'esempio dopo la modifica.
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