Thanks. but it's not working, i even tried to use a bool as state for when the animation get's finished (initial page load animation) and then use it to create the timeline for the cards but still it's not working and the issue keeps happening. Also in the real project where i am using this, it has React 17