Skip to content

Commit 2fea2cd

Browse files
authored
fix: fix portals, dialogs & modals not correctly positioned on react native 0.85 (#4906)
1 parent 8b6b5e5 commit 2fea2cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const styles = StyleSheet.create({
236236
flex: 1,
237237
},
238238
wrapper: {
239-
...StyleSheet.absoluteFillObject,
239+
...StyleSheet.absoluteFill,
240240
justifyContent: 'center',
241241
},
242242
// eslint-disable-next-line react-native/no-color-literals

src/components/TouchableRipple/TouchableRipple.native.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const styles = StyleSheet.create({
135135
overflow: 'hidden',
136136
},
137137
underlay: {
138-
...StyleSheet.absoluteFillObject,
138+
...StyleSheet.absoluteFill,
139139
zIndex: 2,
140140
},
141141
});

0 commit comments

Comments
 (0)