Closed sebkasanzew closed 4 months ago
I want to disable the "open"-animation of the <Accordion />.
<Accordion />
Overriding the animation prop doesn't work and only leads to a stuttering animation:
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?
I want to disable the "open"-animation of the
<Accordion />
.Overriding the
animation
prop doesn't work and only leads to a stuttering animation:Is there another way without modifying the source code?