Replies: 1 comment
-
Wrapping actually works for animation, but creates another problems: <motion.div
key={id}
layout="position"
transition={{ duration: 0.2 }}
>
{/* {institution.name} */}
<InstitutionTab
width={isKeyboardOpened && "180px"}
key={`institutionTab-${id}`}
name={institution.name}
state="new"
/>
</motion.div> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i need to animate
Tab
component when layout is changing.pure
motion.div
works as expected:motiondiv.mov
But when i use chakra
Tab
withas
prop i got strange behaviour:as.pop.mov
Do you know how to avoid this?
Beta Was this translation helpful? Give feedback.
All reactions