I'm actually struggling - killing and resetting ScrollTrigger.
Let me explain. I'm currently developping a website using ScrollTriger AND locomitive-scroll.
I succeed making both working perfectly together, thanks to your example.
But the thing is that my website is in ajax (Barba js), the first time i go to my page, every thing is alright but when I change and i come back, there is an error on the ScrollTrigger.refresh().
I tried :
It's always kind of hard to give any good advice without an example - especially with the combination of barba and other libraries.
My guess is, that you will probably have to kill/destroy both, your ScrollTriggers AND locomotive-scroll when leaving a page, and reinitialize both after your transition. So first off, locomotive-scroll gets knwoledge of the new environment it is supposed to be working in, and then your ScrollTriggers get that same information and