-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding animation timeouts #10
Comments
Sounds sensible. Some questions:
|
According to Overlays Transition docs:
Or another possibility:
If the animation is interrupted, then the "animation end hook" is not reliable and may break any logic associated with the hook (e.g. node remove will never happen, and the user will always see the element stuck in a mid of animation) |
Ideally, yes. If the timeout is specified less than |
Sorry about the late reply. Would also checking |
@arve0 I think it may be a reason to log a Warning |
ReactCSSTransitionGroup as well as some other components (e.g. React Overlays Transition have a
timeout
prop for handling the cases whentransitionEnd
oranimationEnd
events are interrupted.I think it will be beneficial for this component as well.
The text was updated successfully, but these errors were encountered: