Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/material-experimental/mdc-button/button-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ export const _MatButtonBaseMixin: CanDisableRippleCtor&CanDisableCtor&CanColorCt
export class MatButtonBase extends _MatButtonBaseMixin implements CanDisable, CanColor,
CanDisableRipple {
/** The ripple animation configuration to use for the buttons. */
_rippleAnimation: RippleAnimationConfig = RIPPLE_ANIMATION_CONFIG;
_rippleAnimation: RippleAnimationConfig =
this._animationMode === 'NoopAnimations' ?
{enterDuration: 0, exitDuration: 0} :
RIPPLE_ANIMATION_CONFIG;

/** Whether the ripple is centered on the button. */
_isRippleCentered = false;
Expand Down