angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.38k stars 6.76k forks source link

bug(list): list item with activated state miss background color #26946

Open MikaStark opened 1 year ago

MikaStark commented 1 year ago

Is this a regression?

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

berga0d commented 3 months ago

Same here