bug(mat-navigation-list): Navigation List active items should have on-secondary-container color
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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
Guía de contribución
Línea de trabajo
Abre el ejemplo Navigation List en material.angular.dev/components/list/examples#list-navigation e inspecciona cómo se aplica el estilo al elemento activo. Se considera terminado cuando un elemento activo conserva su fondo secondary-container y usa el color on-secondary-container en lugar de on-surface; verifica el comportamiento del ejemplo después del cambio.
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