motiondivision / motion

A modern animation library for React and JavaScript
https://motion.dev
MIT License
25.96k stars 851 forks source link

[BUG] `useScroll` values are stuttering on mobile browsers #2680

Closed piscopancer closed 6 months ago

piscopancer commented 6 months ago

I know this bug exists and was reported a number of times already. I just want the maintainers to have their heads on this issue. I cannot figure out the nature of this bug but it only works on mobile.

I do not have a gif from my phone, so imagine the bamboo twitching up and down as i scroll the page, that's exactly what the bug is image

mattgperry commented 6 months ago

Dupe https://github.com/framer/motion/issues/2507

nboliver-ventureweb commented 4 months ago

@mattgperry I see this is now closed, but I am still experiencing stuttering with framer-motion@11.3.19 Was there a fix that was added to resolve the issue?

Reduced test case of the issue is here: https://codesandbox.io/p/sandbox/headless-moon-9dt5n8?file=%2Fsrc%2FApp.js and you can view the bug on your phone here: https://9dt5n8.csb.app/