motion
motion copied to clipboard
[BUG] Jumpy Scrolling
1. Read the FAQs 👇 ✅
2. Describe the bug
When animations depends on a scroll progress, scrolling with a mouse makes it jumpy sometimes (scrolling with a scrollbar is fine).
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-iuqre4?file=app%2Fpage.tsx
4. Steps to reproduce
Steps to reproduce the behavior:
- Open the reproduction
- Scroll the page with the mouse up&down
- Sometimes you should see jumps
5. Expected behavior
No jumps
6. Video or screenshots
https://github.com/framer/motion/assets/31354262/80f1e1f7-77a5-4513-a1da-c1034cb545b4
7. Environment details
If applicable, let us know which OS, browser, browser version etc you're using.
Framer Motion 11.2.11, Windows 11, Chrome Version 126.0.6478.127 (Official Build) (64-bit)