diff --git a/src/pages/iou/steps/MoneyRequestAmount.js b/src/pages/iou/steps/MoneyRequestAmount.js index c455cbc84c88..966f8068ea21 100755 --- a/src/pages/iou/steps/MoneyRequestAmount.js +++ b/src/pages/iou/steps/MoneyRequestAmount.js @@ -419,69 +419,79 @@ function MoneyRequestAmount(props) { const formattedAmount = replaceAllDigits(amount, toLocaleDigit); const buttonText = isEditing.current ? translate('common.save') : translate('common.next'); - return ( - - + onMouseDown(event, [amountViewID])} + style={[styles.flex1, styles.flexRow, styles.w100, styles.alignItemsCenter, styles.justifyContentCenter]} + > + (textInput.current = el)} + selectedCurrencyCode={selectedCurrencyCode} + selection={selection} + onSelectionChange={(e) => { + if (!shouldUpdateSelection) { + return; + } + setSelection(e.nativeEvent.selection); + }} + /> + + onMouseDown(event, [numPadContainerViewID, numPadViewID])} + style={[styles.w100, styles.justifyContentEnd, styles.pageWrapper]} + nativeID={numPadContainerViewID} > - {({safeAreaPaddingBottomStyle}) => ( + {DeviceCapabilities.canUseTouchScreen() ? ( + + ) : ( + + )} + +