You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when refreshing page, the accordion component (type='multiple') has that initial flicker where all items are closed and then opened.
Expectation: If I set all my accordion items to be open by default, I don't want to see the initial animation.
<AccordiondefaultValue={["item-1","item-2"]}type="multiple"><AccordionItemvalue="item-1"><AccordionTrigger>Is it accessible?</AccordionTrigger><AccordionContentforceMount>
Yes. It adheres to the WAI-ARIA design pattern.
</AccordionContent></AccordionItem><AccordionItemvalue="item-2"><AccordionTrigger>Is it styled?</AccordionTrigger><AccordionContentforceMount>
Yes. It comes with default styles that matches the other components'
aesthetic.
</AccordionContent></AccordionItem><AccordionItemvalue="item-3"><AccordionTrigger>Is it animated?</AccordionTrigger><AccordionContentforceMount>
Yes. animated by default, but you can disable it if you prefer.
</AccordionContent></AccordionItem></Accordion>;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently when refreshing page, the accordion component (type='multiple') has that initial flicker where all items are closed and then opened.
Expectation: If I set all my accordion items to be open by default, I don't want to see the initial animation.
Am I doing something wrong?
Screen.Recording.2025-03-28.at.02.26.58.mov
Beta Was this translation helpful? Give feedback.
All reactions