Skip to content

Commit e48c60a

Browse files
committed
style(ripple): start animation out on mouseup
1 parent 7fe37e5 commit e48c60a

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
@@ -193,9 +193,9 @@ export class RippleRenderer {
193193
private onMouseup() {
194194
this._isMousedown = false;
195195

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

0 commit comments

Comments
 (0)