diff --git a/README.md b/README.md index 2ddd5d5..7664fde 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,16 @@ export default function ThreeTabs() { } ``` +### ScrollView + +If you expirence issues with ScrollView content being below the tab bar, add `contentInsetAdjustmentBehavior="automatic"` to the ScrollView component. + + +```tsx + + {/* content */} + +``` ## Contributing diff --git a/example/src/Screens/Albums.tsx b/example/src/Screens/Albums.tsx index 6515e43..4cb7a38 100644 --- a/example/src/Screens/Albums.tsx +++ b/example/src/Screens/Albums.tsx @@ -42,7 +42,11 @@ export function Albums(props: Partial) { const itemSize = dimensions.width / Math.floor(dimensions.width / 150); return ( - + {COVERS.map((source, i) => ( diff --git a/example/src/Screens/Chat.tsx b/example/src/Screens/Chat.tsx index 5724ec0..3f8b0db 100644 --- a/example/src/Screens/Chat.tsx +++ b/example/src/Screens/Chat.tsx @@ -28,6 +28,7 @@ export function Chat({ style={styles.container} >