Im doing an app with your regular footer with the diferent sections, in this case a map, a list of vehicles and a report, the idea is that when you click in either vehicles or report the footer expands upward untill it reaches the header.
i have a component with the footer and the two sections of vehicles and report nested inside with height 0, then when either is pressed it expands like the picture below:

the thing is that when i try in the prototipe the footer expands downward no matter what i change (i tried changing the constrains and the auto layout order) making it imposible to see the items.

anyone now how to fix this? i want the prototipe to have just one screen but working with components makes it a difficult task