CSSTransition lost current class on underlying node on node rerender
Bug What is the current behavior?
After transition some element under CSSTransition have class classNames-enter-done
If you rerender that element with className property change that class will be removed.
Example: https://codesandbox.io/s/3r9v04nw6
Click RUN then bug-enter-done will be applied
click update then bug-enter-done will be lost
Expected behaviour: CSSTransition should add current classname at ComponentDidUpdate
I'm having this issue as well, is there any workaround?
@ashrafmajdee Have worked around this by using HTML attributes + CSS attribute selectors in place of certain classNames that would likely change independent of CSSTransition.