diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index dc55c3cf7a..45bfcf676a 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -236,7 +236,7 @@ const styles = StyleSheet.create({ flex: 1, }, wrapper: { - ...StyleSheet.absoluteFillObject, + ...StyleSheet.absoluteFill, justifyContent: 'center', }, // eslint-disable-next-line react-native/no-color-literals diff --git a/src/components/TouchableRipple/TouchableRipple.native.tsx b/src/components/TouchableRipple/TouchableRipple.native.tsx index 1cb17b4068..2d81d2d1be 100644 --- a/src/components/TouchableRipple/TouchableRipple.native.tsx +++ b/src/components/TouchableRipple/TouchableRipple.native.tsx @@ -135,7 +135,7 @@ const styles = StyleSheet.create({ overflow: 'hidden', }, underlay: { - ...StyleSheet.absoluteFillObject, + ...StyleSheet.absoluteFill, zIndex: 2, }, });