Skip to content

Need Help With Jitters on Old Mobiles #479

Answered by idiotWu
blitzve0 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Increase the damping value: it looks like you are reducing the damping value on mobile devices? The smaller the damping value, the more frames will be rendered, which may cause the performance to drop. I'd suggest you use a larger damping value on mobile devices if possible.
  2. Reduce GSAP animation durations: some animations keep running even if the scrolling has already stopped (for seconds!). This issue is noticeable in your gelly scrolling effect. Consider reducing animation durations to avoid unnecessary interpolations.
  3. Reducing motion is always the best choice 😆.

Another micro-optimization: instead of setting elem.style.transform = translate(0, 0) in every idle frame, try modifying i…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@blitzve0
Comment options

Answer selected by blitzve0
Comment options

You must be logged in to vote
1 reply
@blitzve0
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants