# Flex container and determining auto basis size

**URL:** <https://forum.inductiveautomation.com/t/flex-container-and-determining-auto-basis-size/40517>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [November 11, 2020, 4:36am UTC](https://forum.inductiveautomation.com/t/flex-container-and-determining-auto-basis-size/40517 "2020-11-11T04:36:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [January 26, 2021, 3:53am UTC](https://forum.inductiveautomation.com/t/flex-container-and-determining-auto-basis-size/40517/3 "2021-01-26T03:53:36Z")

</div>

If you make the default height of the view shorter than needed (for example 10px) then it should work correctly with a basis of auto on the embedded view that its in.

This is probably a bug, but that’s the workaround I know of, often times I set a binding on defaultHeight to be something like 600 if the device is the designer, else 10

---

_[View the full topic](https://forum.inductiveautomation.com/t/flex-container-and-determining-auto-basis-size/40517)._
