bug(ProgressSpinner): Styling overwrites for size and width have no effect
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 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 复现开始,检查 ProgressSpinner 针对 size 和 active-indicator-width 的样式覆盖是如何应用的。在 Angular Material 20.2.0 下,当这两个覆盖都能明显改变 spinner 的大小和指示器宽度时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100