Skip to content

Commit 32df06a

Browse files
authored
fix(android): newArch issue with no feedback on android (#865)
1 parent b48d5b4 commit 32df06a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Children, ReactNode } from 'react';
2-
import { StyleSheet, View } from 'react-native';
2+
import { Platform, StyleSheet, View } from 'react-native';
33

44
export const LEGACY_childrenWithOverriddenStyle = (children?: ReactNode) => {
55
return Children.map(children, (child) => {
@@ -29,6 +29,7 @@ export const childrenWithOverriddenStyle = (
2929
height: '100%',
3030
width: '100%',
3131
paddingHorizontal: pageMargin / 2,
32+
position: Platform.OS === 'android' ? 'absolute' : undefined,
3233
}}
3334
collapsable={false}
3435
>

0 commit comments

Comments
 (0)