How to disable animation for Accordion?
sebkasanzew opened this issue · comments
I want to disable the "open"-animation of the <Accordion />
.
Overriding the animation
prop doesn't work and only leads to a stuttering animation:
<Accordion
open={isOpen}
animate={{
unmount: {
height: '0',
transition: { duration: 0 },
},
mount: {
height: 'auto',
transition: { duration: 0 },
},
}}
>
{/* ... */}
Is there another way without modifying the source code?