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
  • Loading branch information
andrewseguin authored Dec 17, 2020
1 parent 6d36942 commit 71b7b15
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 71b7b15

Please sign in to comment.