Skip to content

Commit 110ebe0

Browse files
committed
style(ripple): start animation out on mouseup
1 parent dbd64b6 commit 110ebe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/core/ripple/ripple-renderer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ export class RippleRenderer {
191191

192192
this._isMousedown = false;
193193

194-
// Fade-out all ripples that are completely visible and not persistent.
194+
// Fade-out all ripples that are not persistent.
195195
this._activeRipples.forEach(ripple => {
196-
if (!ripple.config.persistent && ripple.state === RippleState.VISIBLE) {
196+
if (!ripple.config.persistent) {
197197
ripple.fadeOut();
198198
}
199199
});

0 commit comments

Comments
 (0)