Browse Source
As discussed in issue 1326 (https://github.com/facebook/react/issues/1326) transitionend events are unreliable; they may not fire because the element is no longer painted, the browser tab is no longer focused or for a range of other reasons. This is particularly harmful during leave transitions since the leaving element will be permanently stuck in the DOM (and possibly visible). The ReactCSSTransitionGroup now requires timeouts to be passed in explicitly for each type of animation. Omitting the timeout duration for a transition now triggers a PropTypes warning with a link to the updated documentation.main
Daniel Rodgers-Pryor
10 years ago
1 changed files with 7 additions and 9 deletions
Loading…
Reference in new issue