Skip to content

ReactCSSTransitionGroup leaves DOM nodes with both leave and enter classes #1707

Description

@victor-homyakov

After sequence of fast changes (add/delete operations) nodes under ReactCSSTransitionGroup are left stuck with classes example-leave example-enter-active example-leave-active. Further state modifications do not change rendered DOM tree. Console has multiple warnings

transition(): tried to perform an animation without an animationend or transitionend event after timeout (5000ms). You should either disable this transition in JS or add a CSS animation/transition. 

Test page: http://jsbin.com/kasurusa/2

  1. Place cursor in input field
  2. Type l then type Backspace very fast
  3. Repeat step 2 few times

Easily reproduces in IE10, but could be also reproduced in Chrome 35.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions