Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 5284145

Browse files
Josh Pikejelbourn
authored andcommitted
fix(ripple): fix iOS Safari stuck ripple issue (#11302)
this issue sometimes occurred when md-button with ripple was tapped repeatedly Fixes #11069
1 parent ae17515 commit 5284145

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/services/ripple/ripple.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ InkRippleCtrl.prototype.handleMousedown = function (event) {
280280
* mouseup, touchend or mouseleave event)
281281
*/
282282
InkRippleCtrl.prototype.handleMouseup = function () {
283-
autoCleanup(this, this.clearRipples);
283+
this.$timeout(function () {
284+
autoCleanup(this, this.clearRipples);
285+
}.bind(this));
284286
};
285287

286288
/**

0 commit comments

Comments
 (0)