motiondivision / motion

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

Ensuring animations are set to `ease: "linear"` when passed to `scroll` #2869

Closed mattgperry closed 1 week ago

mattgperry commented 1 week ago

Fixes https://github.com/motiondivision/motion/issues/2868

This restores the behaviour from Motion One, which is more expected than the current behaviour in Motion where the existing easing/spring is preserved.

Drive-by fix for mini entrypoint. Fixes https://github.com/motiondivision/motion/issues/2865