bug(mat-navigation-list): Navigation List active items should have on-secondary-container color
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Ouvrez l’exemple Navigation List à l’adresse material.angular.dev/components/list/examples#list-navigation et examinez le style appliqué à l’élément actif. Le travail est terminé lorsqu’un élément actif conserve son arrière-plan secondary-container et utilise la couleur on-secondary-container au lieu de on-surface ; vérifiez le comportement de l’exemple après la modification.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100