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

(cherry picked from commit 41526c3)
  • Loading branch information
mountiny authored and OSBotify committed Sep 6, 2023
1 parent 251abea commit f3606fe
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 f3606fe

Please sign in to comment.