Closed gusnaughton closed 2 years ago
@gusnaughton I need more context for this. Can you include the code you are trying to use and a screenshot of the undesired output.
I'd argue that this is not a bug, but an unexplored feature. The design intent of the accordion is to always have context for the unfolded content.
If there is no header, what is the context of the hidden content.
Please provide examples of the design intent and the please provide the name of the designer so that we can follow up on this.
I am going to loop this in with the thought of redefining how this element works.
Bolting on new features to address small updates is a slippery slope. What I really see here is a request to redefine the scope of the element to allow for more flexibility in trigger and customization of UI without having the element to directly support all these minor one-offs.
Describe the bug
When using JUST a trigger and no header, there is 16-24px of padding added. We are expecting no padding when no content is added.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.