4 ms·
One thing it didn't explain (or I might've missed): How do you animate the neighbors this way when a component changes? Aka if my size increases it shows how to
by matsemann 4y ago
One thing it didn't explain (or I might've missed): How do you animate the neighbors this way when a component changes? Aka if my size increases it shows how to animate that, but without doing anything else the neighbor component would just jump to its new position, or?
- leodriesch 4y agoIf the neighbors are also Motion components you would just have to "ping" them so they can check for layout changes and animate accordingly.
- mattgperry 4y agoYou can wrap these in a <LayoutGroup /> component to ensure these components are aware of each other. https://www.framer.com/docs/layout-group/ https://www.framer.com/docs/layout-group/