From d6b4ec38f45a710068cdf5f257790a3bdadb9bf1 Mon Sep 17 00:00:00 2001 From: Wagner Maciel Date: Mon, 6 Mar 2023 11:41:48 -0500 Subject: [PATCH] fixup! feat(material/button): make button ripples lazy --- src/material/button/button-base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/button/button-base.ts b/src/material/button/button-base.ts index ddcd0017bc41..6d6d5863e422 100644 --- a/src/material/button/button-base.ts +++ b/src/material/button/button-base.ts @@ -115,7 +115,7 @@ export class MatButtonBase // The button ripple does not render until it is referenced. if (!this._buttonRipple._initialized) { - this._buttonRipple._render(); + this._buttonRipple._renderRipple(); } return this._buttonRipple; }