Skip to content

Commit

Permalink
Merge pull request #26859 from akinwale/task-drscrollfix-smallscreens
Browse files Browse the repository at this point in the history
[CP Staging] fix: change the contentContainerStyle for the DistanceRequest scroll view
  • Loading branch information
mountiny authored Sep 6, 2023
2 parents 1223e1e + 0a6527d commit 41526c3
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 41526c3

Please sign in to comment.