File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ import IOURequestStepDistance from './step/IOURequestStepDistance';
3636import IOURequestStepPerDiemWorkspace from './step/IOURequestStepPerDiemWorkspace' ;
3737import IOURequestStepScan from './step/IOURequestStepScan' ;
3838import type { WithWritableReportOrNotFoundProps } from './step/withWritableReportOrNotFound' ;
39+ import { isMobile } from '@libs/Browser' ;
3940
4041type IOURequestStartPageProps = WithWritableReportOrNotFoundProps < typeof SCREENS . MONEY_REQUEST . CREATE > & {
4142 defaultSelectedTab : SelectedTabRequest ;
@@ -209,7 +210,8 @@ function IOURequestStartPage({
209210 shouldShowProductTrainingTooltip = { shouldShowProductTrainingTooltip }
210211 renderProductTrainingTooltip = { renderProductTrainingTooltip }
211212 lazyLoadEnabled
212- disableSwipe = { isMultiScanEnabled && selectedTab === CONST . TAB_REQUEST . SCAN }
213+ // We're disabling swipe on mWeb fo the Per Diem tab because the keyboard will hang on the other tab after switching
214+ disableSwipe = { ( isMultiScanEnabled && selectedTab === CONST . TAB_REQUEST . SCAN ) || ( selectedTab === CONST . TAB_REQUEST . PER_DIEM && isMobile ( ) ) }
213215 >
214216 < TopTab . Screen name = { CONST . TAB_REQUEST . MANUAL } >
215217 { ( ) => (
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function IOURequestStepDestination({
118118 < ScreenWrapper
119119 includePaddingTop = { false }
120120 keyboardVerticalOffset = { variables . contentHeaderHeight + top + variables . tabSelectorButtonHeight + variables . tabSelectorButtonPadding }
121- testID = { `${ IOURequestStepDestination . displayName } Wrap ` }
121+ testID = { `${ IOURequestStepDestination . displayName } -container ` }
122122 >
123123 < StepScreenWrapper
124124 headerTitle = { backTo ? translate ( 'common.destination' ) : tabTitles [ iouType ] }
You can’t perform that action at this time.
0 commit comments