You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ReactTransitionGroup is unmounted before all its animations have finished a javascript error is thrown complaining about reading properties of undefined.
Specifically the callbacks _handleDoneAppearing, _handleDoneEntering, _handleDoneLeaving have:
letcomponent=this.childRefs[key];// The following line (and its analogues) will throw with:// Uncaught TypeError: Cannot read property 'componentDidLeave' of undefinedif(component.componentDidLeave){
This bug is especially common with long running animations, however it can also happen with short animations if the timing is right.
The text was updated successfully, but these errors were encountered:
fixesreactjs#12 using reactjs#15 for v1 as well.
Not all of us has been moved to v2 (especially those of us who are still using `material-ui` < v1-beta),
Yet, this is critical bug fix .
hopefully a version with that fix will be released soon ? :)
* Fix TransitionGroup error for v1 as well
fixes#12 using #15 for v1 as well.
Not all of us has been moved to v2 (especially those of us who are still using `material-ui` < v1-beta),
Yet, this is critical bug fix .
hopefully a version with that fix will be released soon ? :)
* Update TransitionGroup.js
If
ReactTransitionGroup
is unmounted before all its animations have finished a javascript error is thrown complaining about reading properties of undefined.Specifically the callbacks
_handleDoneAppearing
,_handleDoneEntering
,_handleDoneLeaving
have:This bug is especially common with long running animations, however it can also happen with short animations if the timing is right.
The text was updated successfully, but these errors were encountered: