Skip to content

Commit 71b7b15

Browse files
authored
fix(material-experimental/mdc-progress-spinner): fix noop animation (#21359)
1 parent 6d36942 commit 71b7b15

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/material-experimental/mdc-progress-spinner/progress-spinner.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
overflow: hidden;
99
}
1010

11-
:not(._mat-animation-noopable) {
11+
.mat-mdc-progress-spinner:not(._mat-animation-noopable) {
1212
@include mdc-circular-progress-core-styles($query: animation);
1313
}
14+
15+
// Render the indeterminate spinner as a complete circle when animations are off
16+
._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {
17+
stroke-dasharray: 0 !important;
18+
}

0 commit comments

Comments
 (0)