This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Description
Describe the bug
CCollapse component retains the final height after the open animation finishes. This causes the wrapping div to stay the same size, even when the contents inside change (grow/shrink). Setting it to "auto" once the animation is complete would allow the wrapper to scale with the content.
To Reproduce
Steps to reproduce the behavior:
- Add an Accordion component with some content inside the CAccordionPanel slot
- Change the contents so that it has a smaller or bigger height than before
- The CCollapse stays the same size
Expected behavior
CCollapse gets set to height: auto so that it scales with the inner content
Screenshots
My case was a nested accordion:

Adding height: auto:

Thanks!