react-crud-mobile 1.3.29 → 1.3.31

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.
@@ -517,9 +517,7 @@ function UISelect(props) {
517
517
  var theme = scope.getTheme();
518
518
  var headerStyle = reactCrudUtils.Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
519
519
  var handlePress = function handlePress() {
520
- var _modalVisible = !modalVisible;
521
- main.data.selectIsOpen = _modalVisible;
522
- setModalVisible(_modalVisible);
520
+ setModalVisible(!modalVisible);
523
521
  };
524
522
  var iconColor = reactCrudUtils.Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
525
523
  var modalColor = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
@@ -536,7 +534,7 @@ function UISelect(props) {
536
534
  } else {
537
535
  scope.changeValue(value);
538
536
  }
539
- handlePress();
537
+ setModalVisible(false);
540
538
  };
541
539
  var style = function style(part, extra) {
542
540
  var all = _extends({}, styles$3[part], extra);