Skip to content

Commit

Permalink
fix: improve behaviours using flex
Browse files Browse the repository at this point in the history
  • Loading branch information
rlemasquerier committed Jan 12, 2024
1 parent 58d83b9 commit 9d756c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/KeyboardScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ export const KeyboardScrollView = ({
return (
<ScrollView
ref={scrollViewRef}
contentContainerStyle={[
contentContainerStyle,
{ paddingBottom: additionalPadding },
]}
contentContainerStyle={[contentContainerStyle]}
contentInset={{ bottom: additionalPadding }}
keyboardShouldPersistTaps="handled"
onMomentumScrollEnd={(event) => {
scrollPositionRef.current = event.nativeEvent.contentOffset.y;
Expand Down

0 comments on commit 9d756c4

Please sign in to comment.