Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

transitionend can be fired twice #75

Open
MartinMoizard opened this issue Apr 18, 2016 · 0 comments
Open

transitionend can be fired twice #75

MartinMoizard opened this issue Apr 18, 2016 · 0 comments

Comments

@MartinMoizard
Copy link

MartinMoizard commented Apr 18, 2016

When controlling a paper-ripple through its API (downAction and upAction), the transitionend 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 of paper-ripple.html, why not replacing

this.animate();

by

if (!this._animating) {  
  this.animate();  
}  

?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant