Skip to content

Commit 43cb95b

Browse files
author
Rad Azzouz
committed
Fix issue in the iOS Catalog were the flat list couldn’t be scrolled all the way down
1 parent 6be456f commit 43cb95b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/Catalog/Catalog.ios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ class Catalog extends Component<{}> {
876876

877877
render() {
878878
return (
879-
<View style={styles.page}>
879+
<View style={{ flex: 1 }}>
880880
<View style={styles.header}>
881881
<Image
882882
source={require("./assets/logo-flat.png")}
@@ -890,6 +890,7 @@ class Catalog extends Component<{}> {
890890
ItemSeparatorComponent={this._renderSeparator}
891891
contentContainerStyle={styles.listContainer}
892892
style={styles.list}
893+
contentInset={{ bottom: 22 }}
893894
/>
894895
</View>
895896
);

0 commit comments

Comments
 (0)