# Flex Container Height Behavior

**URL:** <https://forum.inductiveautomation.com/t/flex-container-height-behavior/71965>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [April 3, 2023, 12:11pm UTC](https://forum.inductiveautomation.com/t/flex-container-height-behavior/71965 "2023-04-03T12:11:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach\_Shearer](https://avatars.discourse-cdn.com/v4/letter/z/90ced4/32.png) [@Zach\_Shearer](https://forum.inductiveautomation.com/u/Zach_Shearer)\
**Post date:** [April 3, 2023, 12:11pm UTC](https://forum.inductiveautomation.com/t/flex-container-height-behavior/71965/1 "2023-04-03T12:11:17Z")

</div>

I currently have a table that I am wanting to grow vertically as it populates. I am also wanting the view to be mobile responsive so I am using a Flex Container to scale things as the view area is adjusted.

The problem I run into with these two goals in mind is that the parent view will not not expand past 100% of the view height.

What is the behavior of a Flex Container that is used as the root container in a view?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 3, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/flex-container-height-behavior/71965/2 "2023-04-03T15:08:01Z")

</div>

The `grow` and `shrink` properties should usually remain unchanged at runtime. If you're looking to adjust how much space is given to something, you should look into modifying the `basis` of the component. In your scenario, I would modify the `basis` of the Table based on the number of rows you want displayed while leaving `shrink` as `0` and `grow` as `1`. This essentially sets the Table to be non-responsive and "sets" the height based on your deterministic conditions.

What you're most likely encountering is that even if you set `grow` values which are high compared to other components there is only so much space to grow into; without modifying the `basis` you'll eventually reach the upper limit of how much anything can grow.
