Skip to content

Commit de99dd7

Browse files
committed
fix: Adjust maxLength and contentWidth for amount input in MoneyRequestConfirmationList
1 parent 6f43c9d commit de99dd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/MoneyRequestConfirmationList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,8 @@ function MoneyRequestConfirmationList({
673673
touchableInputWrapperStyle={[styles.ml3]}
674674
onFormatAmount={convertToDisplayStringWithoutCurrency}
675675
onAmountChange={(value: string) => onSplitShareChange(participantOption.accountID ?? CONST.DEFAULT_NUMBER_ID, Number(value))}
676-
maxLength={formattedTotalAmount.length}
677-
contentWidth={formattedTotalAmount.length * 8}
676+
maxLength={formattedTotalAmount.length + 1}
677+
contentWidth={(formattedTotalAmount.length + 1) * 8}
678678
/>
679679
),
680680
}));

0 commit comments

Comments
 (0)