react-crud-mobile 1.3.163 → 1.3.165

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.163",
3
+ "version": "1.3.165",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -48,6 +48,8 @@ export default function UIList(props: ChildType) {
48
48
  .toLowerCase()
49
49
  .trim() as string;
50
50
 
51
+ console.log(query);
52
+
51
53
  if (query.length > 1) {
52
54
  let filters: any[] = [];
53
55
  let filterBy = Utils.nvl(original.filterBy, 'label');
@@ -110,24 +110,14 @@ export default function UIModal({
110
110
  return <View style={style('modalContent')}>{children}</View>;
111
111
  }
112
112
  return (
113
- <View
114
- style={{
115
- flex: 1,
116
- paddingLeft: 15,
117
- paddingRight: 15,
118
- paddingTop: 10,
119
- paddingBottom: 10,
120
- }}
113
+ <ScrollView
114
+ contentContainerStyle={{ flexGrow: 1, paddingBottom: 50 }}
115
+ style={style('modalContent')}
116
+ nestedScrollEnabled={true}
117
+ ref={scrollRef}
121
118
  >
122
- <ScrollView
123
- contentContainerStyle={{ flexGrow: 1, paddingBottom: 50 }}
124
- style={style('modalContent')}
125
- nestedScrollEnabled={true}
126
- ref={scrollRef}
127
- >
128
- {children}
129
- </ScrollView>
130
- </View>
119
+ {children}
120
+ </ScrollView>
131
121
  );
132
122
  };
133
123
 
@@ -227,5 +217,9 @@ const styles = StyleSheet.create({
227
217
  modalContent: {
228
218
  flex: 1,
229
219
  backgroundColor: 'background',
220
+ paddingLeft: 15,
221
+ paddingRight: 15,
222
+ paddingTop: 10,
223
+ paddingBottom: 10,
230
224
  },
231
225
  });