Having Trouble With Layout Animations #2154
Replies: 2 comments 5 replies
-
Update: I'm one step closer to getting it to work. But, now my navbar layout animation stutters when coming back in. I believe this is better stated as layout animations are not working when the navbar's My change is extremely hacky as well: I added an infinitely rotating div to the My hypothesis is that some kind of thread is dropped when no motion components are in both parent components and that 'thread' handles the render updates. I very well could be wrong. |
Beta Was this translation helpful? Give feedback.
-
Update 2: Alright, seems that unwrapping the entire app from a |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use layout animations, but whenever I mark any component as
layout
or give it alayoutId=
all siblingmotion
components fail to animate smoothly, they just jump keyframes. Components inAnimatePresence
will have that effect until they're unmounted and then everything works again. I'm stuck here.Things I've Tried
I am using Next.js 13 and whatever the latest Framer Motion is
Beta Was this translation helpful? Give feedback.
All reactions