We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c37e4b commit c5a111dCopy full SHA for c5a111d
src/material-experimental/mdc-button/button-base.ts
@@ -93,7 +93,10 @@ export const _MatButtonBaseMixin: CanDisableRippleCtor&CanDisableCtor&CanColorCt
93
export class MatButtonBase extends _MatButtonBaseMixin implements CanDisable, CanColor,
94
CanDisableRipple {
95
/** The ripple animation configuration to use for the buttons. */
96
- _rippleAnimation: RippleAnimationConfig = RIPPLE_ANIMATION_CONFIG;
+ _rippleAnimation: RippleAnimationConfig =
97
+ this._animationMode === 'NoopAnimations' ?
98
+ {enterDuration: 0, exitDuration: 0} :
99
+ RIPPLE_ANIMATION_CONFIG;
100
101
/** Whether the ripple is centered on the button. */
102
_isRippleCentered = false;
0 commit comments