Skip to content

Commit ea32d14

Browse files
crisbetommalerba
authored andcommitted
fix(material-experimental/mdc-chips): enter animation not disabled when using noop animations (#18653)
Fixes the MDC chips not disabling the chip enter animation when using the `NoopAnimationsModule`. Fixes #18642.
1 parent a6e5423 commit ea32d14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/material-experimental/mdc-chips/chips.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
// were disabled via the `NoopAnimationsModule`, the element won't have a transition and
1717
// `transitionend` won't fire. We work around the issue by assigning a very short transition.
1818
transition-duration: 1ms;
19+
20+
// Disables the chip enter animation.
21+
animation: none;
1922
}
2023

2124
@include cdk-high-contrast(active, off) {

0 commit comments

Comments
 (0)