-
Notifications
You must be signed in to change notification settings - Fork 651
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
done classname for appearing #327
Comments
I'm not entirely sure what would be appropriate. Maybe the best solution would be to add both classes. @jquense? |
I'll change this to |
This is sort of weird, though – would the "appear done" class ever be different from "enter done"? I wonder if it would have been better for "appear" to be an extra class, so we'd have ended up with |
There are use cases where you'd want initial appearance to look differently. I think your idea is great, then people who want to apply different styles to appearing vs. entering could do something like |
Maybe |
This issue is for the inconsistent naming.
It seems to be huge breaking changes though. |
Yeah. Another, less breaking solution would be to add |
🎉 This issue has been resolved in version 2.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [2.9.0](reactjs/react-transition-group@v2.8.0...v2.9.0) (2019-04-06) ### Features * **CSSTransition:** add "done" class for appear ([fe3c156](reactjs/react-transition-group@fe3c156)), closes [#383](reactjs/react-transition-group#383) [#327](reactjs/react-transition-group#327) [#327](reactjs/react-transition-group#327) ### Reverts * bump semantic release dependencies ([1bdcaec](reactjs/react-transition-group@1bdcaec))
# [2.9.0](reactjs/react-transition-group@v2.8.0...v2.9.0) (2019-04-06) ### Features * **CSSTransition:** add "done" class for appear ([fe3c156](reactjs/react-transition-group@fe3c156)), closes [#383](reactjs/react-transition-group#383) [#327](reactjs/react-transition-group#327) [#327](reactjs/react-transition-group#327) ### Reverts * bump semantic release dependencies ([1bdcaec](reactjs/react-transition-group@1bdcaec))
# [2.9.0](reactjs/react-transition-group@v2.8.0...v2.9.0) (2019-04-06) ### Features * **CSSTransition:** add "done" class for appear ([fe3c156](reactjs/react-transition-group@fe3c156)), closes [#383](reactjs/react-transition-group#383) [#327](reactjs/react-transition-group#327) [#327](reactjs/react-transition-group#327) ### Reverts * bump semantic release dependencies ([1bdcaec](reactjs/react-transition-group@1bdcaec))
# [2.9.0](reactjs/react-transition-group@v2.8.0...v2.9.0) (2019-04-06) ### Features * **CSSTransition:** add "done" class for appear ([fe3c156](reactjs/react-transition-group@fe3c156)), closes [#383](reactjs/react-transition-group#383) [#327](reactjs/react-transition-group#327) [#327](reactjs/react-transition-group#327) ### Reverts * bump semantic release dependencies ([1bdcaec](reactjs/react-transition-group@1bdcaec))
Do you want to request a feature or report a bug?
bug?
What is the current behavior?
The above case, CSSTransition applies the following classNames in the order.
.fade-appear
.fade-appear.fade-appear-active
.fade-enter-done
Is adding
.fade-enter-done
classname to a component an expected behavior?I think it would be better the classname will be
.fade-appear-done
instead of.fade-enter-done
.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/m4mb9Lg3/4/).
https://codesandbox.io/s/7w59nmnn1x
What is the expected behavior?
A component is added
.fade-appear-done
instead of.fade-enter-done
.Which versions, and which browser / OS are affected by this issue? Did this work in previous versions?
The text was updated successfully, but these errors were encountered: