Skip to content

Commit 052770d

Browse files
committed
fix(material-experimental/mdc-progress-bar): add more specific selectors to disable animations in noop animation mode
1 parent 2653835 commit 052770d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
display: block;
99

1010
&._mat-animation-noopable {
11-
// Disable the loading animations.
12-
animation: none;
11+
.mdc-linear-progress__buffer-dots,
12+
.mdc-linear-progress__primary-bar,
13+
.mdc-linear-progress__secondary-bar,
14+
.mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner {
15+
// Disable the loading animations.
16+
animation: none;
17+
}
1318

1419
.mdc-linear-progress__primary-bar {
1520
// There's a `transitionend` event that depends on this element. Add a very short

0 commit comments

Comments
 (0)