card background pattern
Level 2

Animating React with Framer Motion

Unlock Full Course

$49.99 $39.99

Or

$24.99/Month

Position Transition

Here we will take a look at positionTransition. positionTransition is a property on a motion component that will animate between its current and new position when moving relative to its parent as a result of a render.

Downloads

Comments

Francois
updated 2 months ago

You need to add type: "spring" to positionTransition for damping and stiffness to work correctly. Type is set to "spring" by default, but when you use damping, stiffness, etc. the default is overwritten.

Something to say?

Become a Pro