From 27f5fea1c3562a8cd30b9a2b5ecf4373f39e0140 Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Fri, 20 Jan 2023 11:11:28 +0100 Subject: [PATCH] fix: add picker scroll functionality to (currently) unused screens --- src/pages/ReimbursementAccount/BankAccountPlaidStep.js | 1 + src/pages/ReportSettingsPage.js | 1 + src/pages/workspace/WorkspaceNewRoomPage.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/pages/ReimbursementAccount/BankAccountPlaidStep.js b/src/pages/ReimbursementAccount/BankAccountPlaidStep.js index 1142cfde7ef..4db9bc2103f 100644 --- a/src/pages/ReimbursementAccount/BankAccountPlaidStep.js +++ b/src/pages/ReimbursementAccount/BankAccountPlaidStep.js @@ -79,6 +79,7 @@ class BankAccountPlaidStep extends React.Component { formID={ONYXKEYS.FORMS.REIMBURSEMENT_ACCOUNT_FORM} validate={() => ({})} onSubmit={this.submit} + scrollContextEnabled submitButtonText={this.props.translate('common.saveAndContinue')} style={[styles.mh5, styles.flexGrow1]} isSubmitButtonVisible={Boolean(selectedPlaidAccountID)} diff --git a/src/pages/ReportSettingsPage.js b/src/pages/ReportSettingsPage.js index f9cc86372fe..1ff79c3b98a 100644 --- a/src/pages/ReportSettingsPage.js +++ b/src/pages/ReportSettingsPage.js @@ -128,6 +128,7 @@ class ReportSettingsPage extends Component { style={[styles.mh5, styles.mt5, styles.flexGrow1]} validate={this.validate} onSubmit={this.updatePolicyRoomName} + scrollContextEnabled isSubmitButtonVisible={shouldShowRoomName && !shouldDisableRename} enabledWhenOffline > diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index 04bd167022f..f524e34b48c 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -131,6 +131,7 @@ class WorkspaceNewRoomPage extends React.Component {