Jump to content
GreenSock

dr.Pxl

Scrolltrigger works on desktop and android phone and tablet. But not on iOS devices

Recommended Posts

Hey,

 

I know a demo helps but my code is very large so I try to ask a general question first: 

My scrolltrigger are working perfectly on Android tablets and smartphones, but not on iPad and iPhone (models are not old or something).

Is there a problem or typical mistake known leading to that problem?

Thank you!

Link to comment
Share on other sites

Not with scrollTrigger specifically.

I would look more broadly at browser support for the properties you're animating. Mobile safari can be tricky!

 

Hope this helps, if you get time to put a demo together - we can certainly give you better advice.

Link to comment
Share on other sites

Yep, and just to be clear, ScrollTrigger definitely works on iOS Safari (and all browsers). So I'd bet Cassie is correct about the problem being that you're animating properties that Safari doesn't support (maybe?) Very difficult to say without a minimal demo

Link to comment
Share on other sites

Hey thanks, I found the error. 

Had nothing to do with Scrolltrigger like you guys said.

Thank you :)

  • Like 2
Link to comment
Share on other sites

Hey @dr.Pxl please can you share the fix to this error, I’m also having the same issue with my current project. Thanks 

Link to comment
Share on other sites

It's very unlikely you'll have the same issue @Reetchy - ScrollTrigger works fine on IOS safari and other browsers.

Take a look at the properties you're animating - it's usually down to browser support.

  • Like 1
Link to comment
Share on other sites

Hey @Reetchy,

 

like @Cassie said, it was a mobile Safari issue with a function that had nothing to do with Scrolltrigger. I wrote you a message with instruction on how to debug iOS Safari via cable and macOS Safari.

 

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×