Skip to content

Is there a reason you cannot use type: inertia on animate()? #1620

Answered by tom2strobl
tom2strobl asked this question in Q&A
Discussion options

You must be logged in to vote

As suggested by matt perry on discord, it's only the types at https://github.com/framer/motion/blob/main/packages/framer-motion/src/animation/animate.ts#L28 that dont reflect the possibility to use type inertia. Be aware that high values of velocity need to be set, low values like 0.xxx that eg. @use-gesture returns don't really change anything visually since the diff is too small.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tom2strobl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant