Skip to content

Commit

Permalink
Merge pull request #42237 from nkdengineer/fix/42207
Browse files Browse the repository at this point in the history
[CP Staging] fix Split amount is not selected
  • Loading branch information
Beamanator authored May 16, 2024
2 parents 4499fa2 + cb11999 commit 1f840cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MoneyRequestAmountInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ function MoneyRequestAmountInput(
touchableInputWrapperStyle={props.touchableInputWrapperStyle}
maxLength={maxLength}
hideFocusedState={hideFocusedState}
onMouseDown={(event) => event.stopPropagation()}
/>
);
}
Expand Down
5 changes: 5 additions & 0 deletions src/components/TextInputWithCurrencySymbol/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ type TextInputWithCurrencySymbolProps = {
*/
onBlur?: ((e: NativeSyntheticEvent<TextInputFocusEventData>) => void) | undefined;

/**
* Callback that is called when the text input is pressed down
*/
onMouseDown?: ((e: React.MouseEvent) => void) | undefined;

/** Whether the currency symbol is pressable */
isCurrencyPressable: boolean;

Expand Down

0 comments on commit 1f840cb

Please sign in to comment.