atomictom
atomictom

Reputation: 1807

Framer Motion: grid item placement

I would like to use properties like grid-area or grid-column with Framer Motion to animate between CSS Grid tracks. With my limited knowledge of Framer Motion I would expect changing these values would trigger an animation, from one spot to the other. I can find alternative ways of doing this, but this would a cleaner option imo, and I'm also just curious if it's a bug or not.

I have a minimal example. The item moves, and you can the slight delay which I guess is where the animation should be, but no animation.

https://codesandbox.io/s/framer-motion-2-layout-animations-forked-2vmqnq?file=/src/App.js

Upvotes: 1

Views: 1223

Answers (0)

Related Questions