Closed ghost closed 4 years ago
Next is a function so you should change lines onComplete: next
to onComplete: next()
.
Hey 👋
actually I don't think @pixelmachine is correct. Calling next()
would trigger the next step right away. It seems like your timeline just doesn't finish in the in
step.
However, this is a question for GSAP guys, so I can't really help.
Just remembered there is this thread https://github.com/swup/js-plugin/issues/2. Maybe a buggy version of gsap?
Hi there,
How Would a GSAP timeline be implemented?
I tried something like this but the timeline only played on the first transition.
Thanks for your patience! :)