angular / angular/components

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

Đang mở
#32,097 0 bình luận 7 reaction 0 người được giao Xem trên GitHub
area: material/progress-spinner P2
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với bản tái hiện trên StackBlitz trong src/example/progress-spinner-overview-example.scss và kiểm tra cách áp dụng các ghi đè kiểu của ProgressSpinner cho size và active-indicator-width. Issue được hoàn tất khi cả hai ghi đè đều làm thay đổi rõ ràng kích thước của spinner và chiều rộng của indicator trên Angular Material 20.2.0.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.