Skip to content

bug(mat-navigation-list): Navigation List active items should have on-secondary-container color #32734

@kainiedziela

Description

@kainiedziela

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions