-
-
Notifications
You must be signed in to change notification settings - Fork 909
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Scroll-linked animation easing is broken - regression? #3005
Comments
I noticed the same problem, this has been just for a week, so I'm understanding with it not being fixed yet |
Ok, this is weird, I was using two elements on one animation to keep things more concise, I used your code and it worked, but then if you comment one (.one) element in the html, the element with the easing defaults to linear as far as I can tell. I'm importing the more updated 12 version and motion, not framer-motion (althought both seem to exist) https://codesandbox.io/p/sandbox/scroll-triggered-animations-forked-3ngrqh Also I noticed that using |
Same on my side. I've been fiddling with this for an hour and can't get easing to work inside scroll() |
I am pretty sure it happened with this change, where |
I thought I wrote a comment about this somewhere, can't find it now, essentially there was a change made to make sure people didn't have to do this scroll(
animate(element, values, { ease: "linear" })
) For the sensible scroll animation default, but I agree it should only happen if |
These two items should move at different rates:
https://codesandbox.io/p/sandbox/scroll-triggered-animations-forked-h5jwk3
Appears to be a regression in
v11.11
as it works in older versions (this isv11.10
):https://codesandbox.io/p/sandbox/scroll-triggered-animations-forked-7l3qwl
The text was updated successfully, but these errors were encountered: