I'm brand new to GSAP and Barba, I have got a basic page transition working with the two, however after the transition scroll trigger seems to break.
I've been looking through the forum and see other users have very similar issue to what I have but I cannot find a solution.
If either of the pages are accessed directly, scroll trigger works fine. However if either page is navigated to via the barba transition the scroll trigger doesn't work. Using barba views I appear to b
Hey @sixtillnine - welcome to the forums.
When you search for barba in these forums, you will actually find quite a few threads asking about this or something similar.
In a nutshell:
You will have to kill off the old ScrollTriggers in a barba hook when transitioning to another page, and create all neccessary ScrollTriggers for the next page from scratch after transitioning. You will find examples on how to do that and some more explanation on the why in the threads b