Open MartinMoizard opened 8 years ago
When controlling a paper-ripple through its API (downAction and upAction), the transitionend event can be fired more than once.
downAction
upAction
transitionend
The issue can be reproduced using the following code: https://jsfiddle.net/2q3fqehz/34/
My question is the following: in upAction of paper-ripple.html, why not replacing
paper-ripple.html
this.animate();
by
if (!this._animating) { this.animate(); }
?
When controlling a paper-ripple through its API (
downAction
andupAction
), thetransitionend
event can be fired more than once.The issue can be reproduced using the following code: https://jsfiddle.net/2q3fqehz/34/
My question is the following: in
upAction
ofpaper-ripple.html
, why not replacingby
?