Closed jintak0401 closed 3 years ago
Add css transition.
To where? I add "transition: height 500ms" at both
To the collapse element
.ReactCollapse--collapse {
transition: height 500ms;
}
Also make sure content is actually full height before un-collapsed.
I do not have more context from your code to help better for now.
Oh, I add that at globals.css, it works!!! Thank you, thank you so much!!
Cheers! Happy it worked out 👍
Above image is my code. However, animation of does not apply to its children. What should I do?