Auto Layout - Behavior difference between Main component and Child components

Hello,

I am trying to create a Side bar easily maintainable with expandable submenus setup as variants.

When i am on the main component, the auto layout works as I want when i set the property to True.
But when i try the same with a child component, the auto layout height does not change.

Is there a way to solve my problem ? Or a better way to create expandable submenus in a sidebar component ?

Thanks a lot !
I am really stuck :confused: