Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/pages/iou/steps/MoneyRequestAmountForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,14 @@ function MoneyRequestAmountForm({amount, currency, isEditing, forwardedRef, onCu
}}
onKeyPress={textInputKeyPress}
/>
{!_.isEmpty(formError) && (
<FormHelpMessage
style={[styles.pAbsolute, styles.b0, styles.mb0, styles.ph5, styles.w100]}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely positioning the error message caused #32661 where the error message starts to overlap the amount input when zooming in.

isError
message={translate(formError)}
/>
)}
</View>
{!_.isEmpty(formError) && (
<FormHelpMessage
style={[styles.ph5]}
isError
message={translate(formError)}
/>
)}
<View
onMouseDown={(event) => onMouseDown(event, [NUM_PAD_CONTAINER_VIEW_ID, NUM_PAD_VIEW_ID])}
style={[styles.w100, styles.justifyContentEnd, styles.pageWrapper, styles.pt0]}
Expand All @@ -286,7 +286,7 @@ function MoneyRequestAmountForm({amount, currency, isEditing, forwardedRef, onCu
allowBubble
pressOnEnter
medium={isExtraSmallScreenHeight}
style={[styles.w100, canUseTouchScreen ? styles.mt5 : styles.mt2]}
style={[styles.w100, canUseTouchScreen ? styles.mt5 : styles.mt3]}
onPress={submitAndNavigateToNextPage}
text={buttonText}
/>
Expand Down