Skip to content

Commit

Permalink
change the contentContainerStyle for the DistanceRequest scroll view
Browse files Browse the repository at this point in the history
  • Loading branch information
akinwale committed Sep 6, 2023
1 parent 1bdc5ac commit 0a6527d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DistanceRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function DistanceRequest({iou, iouType, report, transaction, mapboxAccessToken})
useEffect(updateGradientVisibility, [scrollContainerHeight, scrollContentHeight]);

return (
<ScrollView contentContainerStyle={styles.flex1}>
<ScrollView contentContainerStyle={styles.flexGrow1}>
<View
style={styles.distanceRequestContainer(scrollContainerMaxHeight)}
onLayout={(event = {}) => setScrollContainerHeight(lodashGet(event, 'nativeEvent.layout.height', 0))}
Expand Down

0 comments on commit 0a6527d

Please sign in to comment.