How do I run the show and hide animations simultaneously? They should be finished at the same time.
Check out my codepen: https://codepen.io/QJan84/pen/zYvRMMw
This is how the animation should look (animations run simultaneously): https://codepen.io/agrayson/pen/aLpKB
I think the issue may be with having the same ref name for each container. I renamed them 1, 2 and 3 and I think that's closer to what want https://codepen.io/jreviews/pen/WNQMVPp
Works perfect! Thanks!
Most helpful comment
I think the issue may be with having the same ref name for each container. I renamed them 1, 2 and 3 and I think that's closer to what want https://codepen.io/jreviews/pen/WNQMVPp