From e7f6c4fc47d6d830a447255615760aa303597f26 Mon Sep 17 00:00:00 2001 From: sahil Date: Sat, 15 Jan 2022 01:35:09 +0530 Subject: [PATCH] fix workspace save btn float issue --- .../workspace/WorkspacePageWithSections.js | 39 ++++++++++--------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/src/pages/workspace/WorkspacePageWithSections.js b/src/pages/workspace/WorkspacePageWithSections.js index 04b341a19f05..a969a9b73acf 100644 --- a/src/pages/workspace/WorkspacePageWithSections.js +++ b/src/pages/workspace/WorkspacePageWithSections.js @@ -15,6 +15,7 @@ import * as BankAccounts from '../../libs/actions/BankAccounts'; import BankAccount from '../../libs/models/BankAccount'; import reimbursementAccountPropTypes from '../ReimbursementAccount/reimbursementAccountPropTypes'; import userPropTypes from '../settings/userPropTypes'; +import KeyboardAvoidingView from '../../components/KeyboardAvoidingView'; const propTypes = { /** The text to display in the header */ @@ -70,24 +71,26 @@ class WorkspacePageWithSections extends React.Component { return ( - Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policyID))} - onCloseButtonPress={() => Navigation.dismissModal()} - /> - - - - {this.props.children(hasVBA, policyID, isUsingECard)} - - - - {this.props.footer} + + Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policyID))} + onCloseButtonPress={() => Navigation.dismissModal()} + /> + + + + {this.props.children(hasVBA, policyID, isUsingECard)} + + + + {this.props.footer} + ); }