hi,
I have a problem on ios devices with scrollTrigger, when I scroll, scroll suddenly skips or jumps, I have no idea why this happens because the code I wrote is only this.
There's a video at the bottom that you can see what I mean.
Thank you for your attention:)
gsap.timeline({
scrollTrigger:{
trigger:'#s0',
scrub:true,
start:'top top',
end: 'bottom -220%',
pin: '#s0',
}
})
// .to('#photo1',{maskImage: 'linear-gradient(rgba(0, 0, 0, 1) 0%,rgba(0, 0, 0, 1) 0%,rgba(0, 0, 0, 0) 50%)'})
.to('#photo1', { opacity: 0 });
idk.mov