Hi everyone, new to gsap and animations, and i have a question, do i have to set something specific to get scrolltrigger properly triggering on mobile?
The problem is that the onEnter callback does not fire when the element .trigger reaches the top of the viewport while scrolling down but quite a lot later, i have this problem only in fixed viewport of the browser mobile emulator while the touchscreen emulator is enabled and on android devices.
ScrollTrigger.create({
trigger:".trigger",
start:"top top",
end:"bottom bottom",
pin:".pin",
onEnter: self => console.log(self.isActive)
});
Thanks in advance