ayush12 Posted September 22, 2021 Share Posted September 22, 2021 In the given like you can see that the scroll animation gets stuck for ios. Working fine of android. Below is my code. Here is the site link : https://animationstest.vercel.app/work I am also attaching the video for your reference : useEffect(() => { gsap.registerPlugin(ScrollTrigger); const boxes = gsap.utils.toArray('.Work-info'); boxes.forEach(box => { gsap.from(box, { scrollTrigger: box, y: 100, duration: 1.2, opacity: 0, }); }); }, []); See the Pen by work (@work) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted September 22, 2021 Share Posted September 22, 2021 We can't effectively troubleshoot a live site (there are way too many factors and it's impossible to tweak things and see the effects) - if you need help, please provide a minimal demo in something like CodePen or CodeSandbox and we'd be happy to take a look. I'm curious - did you try removing ScrollTrigger from the equation and see if it fixes anything? I suspect you've got a CSS-related issue that has nothing to do with GSAP/ScrollTrigger. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now