Skip to content

Commit

Permalink
Merge pull request #36772 from mkhutornyi/fix-35775
Browse files Browse the repository at this point in the history
disable iOS bounce on private notes page
  • Loading branch information
Beamanator authored Feb 26, 2024
2 parents f4a16f3 + d1895b4 commit 280ea03
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/PrivateNotes/PrivateNotesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ function PrivateNotesListPage({report, personalDetailsList, session}: PrivateNot
onCloseButtonPress={() => Navigation.dismissModal()}
/>
<Text style={[styles.mb5, styles.ph5]}>{translate('privateNotes.personalNoteMessage')}</Text>
<ScrollView contentContainerStyle={styles.flexGrow1}>{privateNotes.map((item) => getMenuItem(item))}</ScrollView>
<ScrollView
contentContainerStyle={styles.flexGrow1}
bounces={false}
>
{privateNotes.map((item) => getMenuItem(item))}
</ScrollView>
</ScreenWrapper>
);
}
Expand Down

0 comments on commit 280ea03

Please sign in to comment.