@umituz/react-native-design-system 2.6.52 → 2.6.53

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": "@umituz/react-native-design-system",
3
- "version": "2.6.52",
3
+ "version": "2.6.53",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -91,10 +91,15 @@ export const BottomSheetModal = forwardRef<BottomSheetModalRef, BottomSheetModal
91
91
  >
92
92
  <Pressable style={styles.overlay} onPress={dismiss}>
93
93
  <View style={styles.container}>
94
- <Pressable onPress={(e) => e.stopPropagation()} style={styles.content}>
94
+ {/* Using a dummy Pressable that covers the container area to consume touches */}
95
+ <Pressable
96
+ style={StyleSheet.absoluteFill}
97
+ onPress={() => {}} // Consumer
98
+ />
99
+ <View style={{ flex: 1 }}>
95
100
  <View style={styles.handle} />
96
101
  {children}
97
- </Pressable>
102
+ </View>
98
103
  </View>
99
104
  </Pressable>
100
105
  </Modal>
@@ -89,6 +89,9 @@ export const FilterBottomSheet = forwardRef<BottomSheetModalRef, FilterBottomShe
89
89
  footer: {
90
90
  marginTop: 16,
91
91
  paddingBottom: 8,
92
+ },
93
+ scrollView: {
94
+ flex: 1,
92
95
  }
93
96
  }), [tokens]);
94
97
 
@@ -175,7 +178,7 @@ export const FilterBottomSheet = forwardRef<BottomSheetModalRef, FilterBottomShe
175
178
  )}
176
179
  </View>
177
180
 
178
- <ScrollView showsVerticalScrollIndicator={false}>
181
+ <ScrollView style={styles.scrollView} showsVerticalScrollIndicator={false}>
179
182
  {categories.map(renderCategory)}
180
183
  </ScrollView>
181
184