Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

bug(MatList): Angular Material List feature doesn't respect M3 specs

オープン
#33,355 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

MatList コンポーネントから始め、先頭アイコンと複数行テキストを使って Chrome で問題を再現します。レンダリングされた DOM と視覚的な挙動を、リンク先の Material Design 3 の List 仕様と比較し、アイコンの配置、水平パディング、タイポグラフィ、間隔、アクションの位置に注目します。影響を受けるリストバリアントが記載された M3 要件に一致すれば完了です。

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

説明

area: material/list gemini-triaged P3
Is this a regression?
  • Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was

No response

Description

The MatList component in Angular Material does not fully adhere to the Material Design 3 (M3) specifications for Lists. Specifically:

  • Icon alignment: Leading icons are not vertically centered as per M3 specs (should be 16px from the top/bottom of the list item).
  • Padding: List items do not use the correct horizontal padding (16px for single-line, 24px for two-line).
  • Typography: Text styles (e.g., mat-line) do not match M3’s typography tokens (e.g., body-large for primary text).
  • etc...

In general, the visual consistency with the M3 design system is broken especially with "mutline" list items or with meta and/or actions (primary, secondary, menu). Furthermore, override API cannot help with some aspects like gaps and positionning.

Reproduction

Steps to reproduce:

  1. Create a MatList with leading icons and multi-line text.
  2. Inspect the rendered DOM and compare with M3 List specs.
  3. Observe misalignment in icon positioning, incorrect padding, or typography mismatches.
Expected Behavior

M3 spec is respected.

Actual Behavior

Lots of "legacy" M2 (?) design choices applied.

Environment
  • Angular: 22
  • CDK/Material: 22
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 11
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 1時間
マージ済み PR(30日)
84

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/components のほかの issue

angular/components の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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