angular / angular/components

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

オープン
#32,734 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/list P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

material.angular.dev/components/list/examples#list-navigation の Navigation List の例を開き、アクティブな項目のスタイルを確認します。アクティブな項目が secondary-container の背景を維持し、on-surface ではなく on-secondary-container の色を使用すれば完了です。変更後に例の動作を確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。