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

Commit 2e2aaa8

Browse files
committed
fix(ripple): moved mouseleave listener to a separated declaration
This caused tooltip to never get hidden
1 parent fbcc3ac commit 2e2aaa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/services/ripple/ripple.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ InkRippleCtrl.prototype._parseColor = function parseColor (color, multiplier) {
165165
*/
166166
InkRippleCtrl.prototype.bindEvents = function () {
167167
this.$element.on('mousedown', angular.bind(this, this.handleMousedown));
168-
this.$element.on('mouseup touchend mouseleave', angular.bind(this, this.handleMouseup));
168+
this.$element.on('mouseup touchend', angular.bind(this, this.handleMouseup));
169+
this.$element.on('mouseleave', angular.bind(this, this.handleMouseup));
169170
this.$element.on('touchmove', angular.bind(this, this.handleTouchmove));
170171
};
171172

0 commit comments

Comments
 (0)