From 71b7b15958ee732fbe1398d68705143eb0e820e3 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Thu, 17 Dec 2020 15:42:46 -0700 Subject: [PATCH] fix(material-experimental/mdc-progress-spinner): fix noop animation (#21359) --- .../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; +}