New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Animation lag after updating from v10x to 11x #2582
Comments
I'm having the same issue after updating from 11.0.8 to 11.0.18. Looks like it was introduced in 11.0.11, since reverting to 11.0.10 works for me. Might be related to #2448. |
Can confirm I get the expected behaviour with 11.0.10 indeed @erengy |
@rnnyrk Can you make the sandbox public please? |
@mattgperry Sorry wasn't aware it was private. Changed it and should be public now |
Thanks! |
Ah yeah I'll have to take a look. Preferably what you'd do here is something with motion values and avoid rerendering. But although not the most performant way to do this, it should still work visually. It's happening because we now defer resolving keyframes until the next animation frame. I'll have to have a play and figure out what to do in these situations, maybe an opt-out or something. |
The same issue: |
Any update on this topic @mattgperry ? |
1. Read the FAQs 馃憞
2. Describe the bug
After updating to the latest framer motion the mask animation on mouse position is super laggy
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/devbox/framer-motion-animation-lag-g4nw4d
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
Expect the animation to be smooth, as in v10
6. Video or screenshots
Bad behaviour v10
https://github.com/framer/motion/assets/4519142/991827e3-d109-47ee-90c5-53e8a211ddcb
Bad behaviour v11
https://github.com/framer/motion/assets/4519142/36038fb3-126c-49e9-8c03-28e9f46d3ee0
The text was updated successfully, but these errors were encountered: