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
This was intended in the first draft of the component to avoid overriding the required height transition. The content ref should be used instead to define custom styles for the closed and open states.
We could find a workaround to allow custom styles on the container ref if it is really needed.
It is not mandatory to be able to style the container, workarounds with content & btn refs are okay.
But the source code is maybe missleading in AccordionItem.js with this declaration:
The container of the
AccordeonItem
cannot be styles viadata-option-styles
Step to reproduce
Given this code, which is 95% a copy from the exemple.
When open/closed the custom
btn
class are applied, but not thecontainer
onesPossible solution:
It seems to be missing some object spreading on the container transition ?
The text was updated successfully, but these errors were encountered: