Skip to content

Commit cd87b38

Browse files
authored
fix(material-experimental/mdc-progress-bar): buffer animation not disabled under noop animations module (#22661)
Fixes that the buffer bar in the MDC-based `mat-progress-bar` still animates when animations are disabled.
1 parent aaf9ad2 commit cd87b38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
animation: none;
2222
}
2323

24-
.mdc-linear-progress__primary-bar {
24+
.mdc-linear-progress__primary-bar,
25+
.mdc-linear-progress__buffer-bar {
2526
// There's a `transitionend` event that depends on this element. Add a very short
2627
// transition when animations are disabled so that the event can still fire.
2728
transition: transform 1ms;

0 commit comments

Comments
 (0)