2. Describe the bug
Updating the state of a component containing a layout element during a transition causes the animation to stutter.
Observations:
animate etc. only layoutId and layout elements 3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/vigilant-murdock-wri5r?file=/src/App.tsx
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
Changing the state or re-rendering the parent component of a motion component shouldn't affect the animations of the latter
6. Video or screenshots
7. Environment details
Chrome 85, Safari 13, Firefox OSX
It looks like the logic around when we start a new layout animation changed around then. I'll take a look.
Most helpful comment
It looks like the logic around when we start a new layout animation changed around then. I'll take a look.