diff --git a/src/components/MoneyRequestAmountInput.tsx b/src/components/MoneyRequestAmountInput.tsx index a59b50e5bdb7..9acd73beadba 100644 --- a/src/components/MoneyRequestAmountInput.tsx +++ b/src/components/MoneyRequestAmountInput.tsx @@ -285,6 +285,7 @@ function MoneyRequestAmountInput( touchableInputWrapperStyle={props.touchableInputWrapperStyle} maxLength={maxLength} hideFocusedState={hideFocusedState} + onMouseDown={(event) => event.stopPropagation()} /> ); } diff --git a/src/components/TextInputWithCurrencySymbol/types.ts b/src/components/TextInputWithCurrencySymbol/types.ts index b31f27aef786..27c8498f253c 100644 --- a/src/components/TextInputWithCurrencySymbol/types.ts +++ b/src/components/TextInputWithCurrencySymbol/types.ts @@ -32,6 +32,11 @@ type TextInputWithCurrencySymbolProps = { */ onBlur?: ((e: NativeSyntheticEvent) => 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;