From 561a38d1e585d431ab1ec24d3e91745c1606d90e Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 21 May 2021 17:35:04 +0200 Subject: [PATCH] fix(material/checkbox): disable ripple animation under noop animations module (#22706) Fixes that the checkbox doesn't disable its ripple animation when the noop animations module is enabled. --- src/material/checkbox/checkbox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/checkbox/checkbox.html b/src/material/checkbox/checkbox.html index fbe3bd387e44..886fe28c45fe 100644 --- a/src/material/checkbox/checkbox.html +++ b/src/material/checkbox/checkbox.html @@ -21,7 +21,7 @@ [matRippleDisabled]="_isRippleDisabled()" [matRippleRadius]="20" [matRippleCentered]="true" - [matRippleAnimation]="{enterDuration: 150}"> + [matRippleAnimation]="{enterDuration: _animationMode === 'NoopAnimations' ? 0 : 150}">