Hello,
I have a problem where I use the gsap.timeline for show/hide logic but it's not really smooth for the first 1-5 seconds.
I expect this code to show/hide red and green box without flickering. But there is 1 frame where none of the boxes are shown.
There is a small blue box under them for easier detection when the timeline is misbehaving.
(I know I can achieve this with normal tweens, but the logic on my side is more complex and I'm using the timeline like a queue)
Is this normal and why if it is or am I doing something wrong?
I have isolated the problem with a simple codepen.
https://codepen.io/martin-nikolov/pen/WNWMMaq