Skip to content

Commit

Permalink
fix(material-experimental/mdc-progress-spinner): fix noop animation (#…
Browse files Browse the repository at this point in the history
…21359)

(cherry picked from commit 71b7b15)
  • Loading branch information
andrewseguin authored and mmalerba committed Dec 17, 2020
1 parent 13513f2 commit b1d8fb3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
overflow: hidden;
}

:not(._mat-animation-noopable) {
.mat-mdc-progress-spinner:not(._mat-animation-noopable) {
@include mdc-circular-progress-core-styles($query: animation);
}

// Render the indeterminate spinner as a complete circle when animations are off
._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {
stroke-dasharray: 0 !important;
}

0 comments on commit b1d8fb3

Please sign in to comment.