Our blazing fast Grid component built with pure JavaScript


Post by nate »

I would like to animate the expansion of child levels in a tree. Looking at the structure of the markup I feel like this might be impossible, but I just wanted to check. Is there a way to do this?

Post by johan.isaksson »

Hi,

To achieve good performance we try and hit DOM as little as possible. This includes reusing row elements, which means expanding/collapsing will use the elements from/for some other row. Which unfortunately makes animating expanding/collapsing nodes difficult.

To solve it, we would have to have special handling for this case, inserting/removing rows instead of reusing them. Which would be a pretty big change, not trivial to implement.

Feel free to open a feature request on GitHub if this is important to you.
Best regards,
Johan Isaksson

Post Reply