Jump to content
Search Community

Problem with Mobile scroll

lucavont test
Moderator Tag

Recommended Posts

Hello everyone and thank you in advance.

I'm having trouble resolving this bug, it seems like on iPhone it goes past the container.

- The first video is from Chrome on Responsive Mode with no bug.

- The second video is from iPhone with the bug.

 

If you want you can see the code of the entire animation from the start to the finish in the codepen link attached.

 

 

 

 

See the Pen KKjPgEy by Luca-Cavretti (@Luca-Cavretti) on CodePen

Link to comment
Share on other sites

  • lucavont changed the title to Problem with Mobile scroll

Without a working minimal demo, it's very difficult to troubleshoot; the issue could be caused by CSS, markup, a third party library, a 3rd party script, etc. Would you please add the markup and styles necessary to the demo you've provided?

 

Please don't include your whole project. Just some colored <div> elements and the GSAP code is best. See if you can recreate the issue with as few dependencies as possible. Start minimal and then incrementally add code bit by bit until it breaks. Usually people solve their own issues during this process! If not, at least we have a reduced test case which greatly increases your chances of getting a relevant answer.

 

Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 

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.
×
×
  • Create New...