Jump to content
Search Community

ScrollSmoother - elements with data-speed jumps when adress bar hides

Vencoca test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hello,
I'm workin on project with Smoothscroll and I stumbled upon issue on mobile. When I scroll down and the adress bar hides it recalculates elements with data-speed and they jump. This happens only when I release finger, if I hold the screen it doesnt do that recalculation. So my question is - Is there a way how to stop this recalculation without using normalize scroll (this solves the issue), because I would like the adress bar to hide? I put down example on stackblitz https://js-dnfvls.stackblitz.io/ as well since in codepen I couldnt figure out the way how to run it on mobile without iframe, so it will reproduce the issue im having.

Thanks in advance
Vencoca

See the Pen xxQVjjB by Vencoca (@Vencoca) on CodePen

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...