Hi, I'm using gsap scrollsmoother with the speed effects on few images in a Vue 3 app. I need to run ScrollTrigger.refresh() when all the images are loaded to recalculate the position but this is causing a scroll to the top.
I created a codesandbox and I've added a 5s setTimout fn to show the issue with ScrollTrigger.refresh(). Is there anything we can do to prevent the scroll to top? Many thanks!
https://codesandbox.io/s/epic-cloud-fx7vro?file=/src/main.js:286-300