I’m building a
TreeView using plain CSS and JS and now I want to add a little bit transition effect on expanding/collapsing the node. The transition works on collapsing but not working on expanding action. I use
max-height value for the transition value.
Here is my codepen link: https://codepen.io/justinus-hermawan/pen/RwoGKmq