Hello, I am using Angular 9 with GSAP, however being a single page application I have to kill the triggers each time I leave a page using
const triggers = ScrollTrigger.getAll();
if (triggers) {
triggers.forEach((trigger) => {
trigger.kill();
})
}
However, each time I come back to a page where I have my animations instantiated (OnInit) the animations gets correctly created however the triggers get translate way below the actual point where they are