Thank you for your answer again.
I was so excited about my animation! But in the end it only showed how much more I need to learn. Which is both exciting but also overwhelming.
In any case, I will try to implement this solution instead : https://developers.google.com/web/updates/2017/03/performant-expand-and-collapse
I wonder if there are any tools out there that would put out a warning when trying to animate height, left, top, etc...
Anyways, have an excellent week-end !