-
Notifications
You must be signed in to change notification settings - Fork 652
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
How do you remain in an entered state using CSSTransition? #261
Comments
Yep, I also think this is a problem, and I wonder why not add an |
Maybe CSS property |
Did you think I could get by without changing the classname in the final callback? I'm finding I still need to use So at this stage it might be nice to have an |
The plan is to add entered/exited hooks for better ergonomics here. You can achieve the same effect in the meantime by having the default style be the entered state and unmountOnExit This is an API oversight from the days when CssTransition was only used with transition group. If anyone wants to take a stab at an implementation please feel free to PR something |
Do you mean there will be corresponding classnames with the hooks? |
yes like: enter enter-active enter-done |
@jquense Any update on this? The |
How about this? |
fixed in #269 |
This is great, any idea when #269 will be released? |
Hi all.
I am using CSSTransition so that I can use keyframe animations for enter and exit. The challenge I have is that when the transitioning classnames disappear I am back at the start. I have tried using the onExited and onEntered callback to add the destination classname but they fire just 'after' the classnames have been removed which introduces a micro flicker of the original style and my new destination style. Is there some way to handle this?
The text was updated successfully, but these errors were encountered: