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

transitionend can be fired twice #75

@MartinMoizard

Description

@MartinMoizard

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();  
}  

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions