We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48d5b4 commit 32df06aCopy full SHA for 32df06a
src/utils.tsx
@@ -1,5 +1,5 @@
1
import React, { Children, ReactNode } from 'react';
2
-import { StyleSheet, View } from 'react-native';
+import { Platform, StyleSheet, View } from 'react-native';
3
4
export const LEGACY_childrenWithOverriddenStyle = (children?: ReactNode) => {
5
return Children.map(children, (child) => {
@@ -29,6 +29,7 @@ export const childrenWithOverriddenStyle = (
29
height: '100%',
30
width: '100%',
31
paddingHorizontal: pageMargin / 2,
32
+ position: Platform.OS === 'android' ? 'absolute' : undefined,
33
}}
34
collapsable={false}
35
>
0 commit comments