diff --git a/lib/View/View.js b/lib/View/View.js index d8e8591..9109603 100644 --- a/lib/View/View.js +++ b/lib/View/View.js @@ -52,7 +52,7 @@ var View = (0, _radium2.default)(_class = (_temp = _class2 = (function (_Compone dynamicStyles.height = this.props.height; } - if (this.props.auto) dynamicStyles.flex = '0 0 auto'; + if (this.props.auto) dynamicStyles.flex = '1 0 0'; var style = undefined; if (this.props.style) { diff --git a/src/View/View.js b/src/View/View.js index 797016b..6006239 100644 --- a/src/View/View.js +++ b/src/View/View.js @@ -34,7 +34,7 @@ export default class View extends Component { dynamicStyles.height = this.props.height; } - if (this.props.auto) dynamicStyles.flex = '0 0 auto'; + if (this.props.auto) dynamicStyles.flex = '1 0 0'; let style; if(this.props.style) {