react-crud-mobile 1.3.293 → 1.3.295

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -805,6 +805,7 @@ function UIInput(props) {
805
805
  var decode = {
806
806
  textarea: {
807
807
  multiline: true,
808
+ autoHeight: element.autoHeight !== false,
808
809
  textAlignVertical: 'top',
809
810
  numberOfLines: 5,
810
811
  style: {
@@ -814,7 +815,7 @@ function UIInput(props) {
814
815
  };
815
816
  var defs = _extends({}, Utils.nvl(decode[type], {}), element.inputProps);
816
817
  var inputStyle = _extends({}, style('input', scope.getStyle(type)));
817
- if (element.autoHeight) {
818
+ if (defs.autoHeight) {
818
819
  defs.onContentSizeChange = function (event) {
819
820
  setHeight(event.nativeEvent.contentSize.height);
820
821
  };
@@ -855,6 +856,7 @@ var styles$6 = /*#__PURE__*/StyleSheet.create({
855
856
  marginHorizontal: 0,
856
857
  marginVertical: 0,
857
858
  height: 40,
859
+ width: '100%',
858
860
  flex: 1
859
861
  }
860
862
  });