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={{ contentContainerStyle={{
paddingBottom: Dimensions.get('window').height - headerOffset, minHeight: Dimensions.get('window').height * 1.5,
}} }}
style={{paddingTop: headerOffset}} style={{paddingTop: headerOffset}}
onScroll={scrollHandler} onScroll={scrollHandler}

View File

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

View File

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