From e7b5a2d472b3603d35dd58651d1f76d1bbaa0355 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Tue, 15 Dec 2020 10:30:23 -0700 Subject: [PATCH] fix(material-experimental/mdc-progress-spinner): fix noop animation --- .../mdc-progress-spinner/progress-spinner.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/material-experimental/mdc-progress-spinner/progress-spinner.scss b/src/material-experimental/mdc-progress-spinner/progress-spinner.scss index ededd643ea8a..580735bccd1c 100644 --- a/src/material-experimental/mdc-progress-spinner/progress-spinner.scss +++ b/src/material-experimental/mdc-progress-spinner/progress-spinner.scss @@ -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; +}