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/dist/react-crud-mobile.cjs.development.js +14 -18
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +14 -18
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +2 -0
- package/src/elements/core/UIModal.tsx +11 -17
package/package.json
CHANGED
@@ -110,24 +110,14 @@ export default function UIModal({
|
|
110
110
|
return <View style={style('modalContent')}>{children}</View>;
|
111
111
|
}
|
112
112
|
return (
|
113
|
-
<
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
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
|
-
|
123
|
-
|
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
|
});
|