Use min height for pager lists and increase it (#1869)

zio/stable
dan 2023-11-10 22:29:12 +00:00 committed by GitHub
parent 86b4842d67
commit 51f04b9620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -227,7 +227,7 @@ export const ListItems = observer(function ListItemsImpl({
/>
}
contentContainerStyle={{
paddingBottom: Dimensions.get('window').height - headerOffset,
minHeight: Dimensions.get('window').height * 1.5,
}}
style={{paddingTop: headerOffset}}
onScroll={scrollHandler}

View File

@ -179,7 +179,7 @@ export const Feed = observer(function Feed({
/>
}
contentContainerStyle={{
paddingBottom: Dimensions.get('window').height - headerOffset,
minHeight: Dimensions.get('window').height * 1.5,
}}
style={{paddingTop: headerOffset}}
onScroll={onScroll != null ? scrollHandler : undefined}

View File

@ -474,7 +474,7 @@ const AboutSection = observer(function AboutPageImpl({
scrollEventThrottle={1}
contentContainerStyle={{
paddingTop: headerHeight,
paddingBottom: Dimensions.get('window').height - headerHeight,
minHeight: Dimensions.get('window').height * 1.5,
}}
onScroll={scrollHandler}>
<View