Skip to content

Commit

Permalink
Merge pull request #31127 from esh-g/iou-description-style
Browse files Browse the repository at this point in the history
[CP Staging] Money Request description input style refactor

(cherry picked from commit 7b78542)
  • Loading branch information
mountiny authored and OSBotify committed Nov 9, 2023
1 parent 1a0d6af commit cd7fa4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/pages/EditRequestDescriptionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ function EditRequestDescriptionPage({defaultDescription, onSubmit}) {
updateMultilineInputRange(descriptionInputRef.current);
}}
autoGrowHeight
containerStyles={[styles.autoGrowHeightMultilineInput, styles.verticalAlignTop]}
containerStyles={[styles.autoGrowHeightMultilineInput]}
inputStyle={[styles.verticalAlignTop]}
submitOnEnter={!Browser.isMobile()}
/>
</View>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/iou/MoneyRequestDescriptionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ function MoneyRequestDescriptionPage({iou, route, selectedTab}) {
updateMultilineInputRange(inputRef.current);
}}
autoGrowHeight
containerStyles={[styles.autoGrowHeightMultilineInput, styles.verticalAlignTop]}
containerStyles={[styles.autoGrowHeightMultilineInput]}
inputStyle={[styles.verticalAlignTop]}
submitOnEnter={!Browser.isMobile()}
/>
</View>
Expand Down

0 comments on commit cd7fa4b

Please sign in to comment.