Skip to content

Commit 6f43c9d

Browse files
committed
fix(64243): Expense - Can't edit single-digit amount near 0.00 in split
1 parent 8c88036 commit 6f43c9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/SelectionList/SplitListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ function SplitListItem<TItem extends ListItem>({
139139
inputStyle={[styles.optionRowAmountInput]}
140140
containerStyle={[styles.textInputContainer]}
141141
touchableInputWrapperStyle={[styles.ml3]}
142-
maxLength={formattedOriginalAmount.length}
143-
contentWidth={formattedOriginalAmount.length * 8}
142+
maxLength={formattedOriginalAmount.length + 1}
143+
contentWidth={(formattedOriginalAmount.length + 1) * 8}
144144
/>
145145
</View>
146146
<View style={[styles.popoverMenuIcon, styles.pointerEventsAuto]}>

0 commit comments

Comments
 (0)