angular / angular/components

bug(ProgressSpinner): Styling overwrites for size and width have no effect

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

説明

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

When overwriting the Styles for the ProgressSpinner via `@include mat.progress-spinner-overrides((...));`, overwrites of the properties `size` and `active-indicator-width` have no effect.

### Reproduction

StackBlitz link: https://stackblitz.com/edit/mnfmk4bd-kqhgpb12?file=src%2Fexample%2Fprogress-spinner-overview-example.scss
Steps to reproduce:
n/a

### Expected Behavior

Overwriting `size` and `active-indicator-width` in `@include mat.progress-spinner-overrides((...));` change the size and width of the spinner.

### Actual Behavior

`size` and `active-indicator-width` have no effect.

### Environment

- Angular: 20.2.0
- CDK/Material: 20.2.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS, Linux

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

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

調査の方向性

src/example/progress-spinner-overview-example.scss の StackBlitz 再現例から始め、size と active-indicator-width に対する ProgressSpinner のスタイルオーバーライドがどのように適用されているかを確認してください。Angular Material 20.2.0 で、両方のオーバーライドによってスピナーのサイズとインジケーターの幅が目に見えて変われば、issue は完了です。

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

評価

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

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

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