Component nesting breaks auto layout

Hi all,
I have a component which uses another component inside, this component is expandable. When I use this component on itself it works as intended but when I try to add this newly created component the expanding of the component does not work, the height stays the same. When I detach the instance of the component the expanding functionality works again… I use auto-layout with hugging heights. I unfortunately can’t upload a video because I’m a new user