style-guide
style-guide copied to clipboard
Accordion plays expand animation on first render causing layout shifts
Rendering accordion component for the first time (on mount) when some of the elements are expanded by default, results in playing "expand" animation on them. Expected behaviour is to render expanded items on mount without animation even without reduced motion property set.
Current behaviour causing layout shift