motion icon indicating copy to clipboard operation
motion copied to clipboard

[BUG] Jumpy Scrolling

Open boar-is opened this issue 7 months ago • 3 comments

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:

  1. Open the reproduction
  2. Scroll the page with the mouse up&down
  3. 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)

boar-is avatar Jul 01 '24 17:07 boar-is