Skip to content

Commit

Permalink
Merge pull request #21333 from reinaldosg/issue/20904
Browse files Browse the repository at this point in the history
Fix inconsistent input field size in close account page message field
  • Loading branch information
srikarparsi authored Jun 26, 2023
2 parents d76b1ad + 45f665e commit 7eacc10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/pages/ReportWelcomeMessagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ function ReportWelcomeMessagePage(props) {
<TextInput
inputID="welcomeMessage"
label={props.translate('welcomeMessagePage.welcomeMessage')}
multiline
numberOfLines={10}
autoGrowHeight
maxLength={CONST.MAX_COMMENT_LENGTH}
ref={(el) => (welcomeMessageInputRef.current = el)}
value={welcomeMessage}
onChangeText={handleWelcomeMessageChange}
autoCapitalize="none"
textAlignVertical="top"
containerStyles={[styles.autoGrowHeightMultilineInput]}
/>
</View>
</Form>
Expand Down
5 changes: 2 additions & 3 deletions src/pages/settings/Security/CloseAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ class CloseAccountPage extends Component {
<Text>{this.props.translate('closeAccountPage.reasonForLeavingPrompt')}</Text>
<TextInput
inputID="reasonForLeaving"
multiline
numberOfLines={6}
autoGrowHeight
textAlignVertical="top"
label={this.props.translate('closeAccountPage.enterMessageHere')}
containerStyles={[styles.mt5, styles.closeAccountMessageInput]}
containerStyles={[styles.mt5, styles.autoGrowHeightMultilineInput]}
/>
<Text style={[styles.mt5]}>
{this.props.translate('closeAccountPage.enterDefaultContactToConfirm')} <Text style={[styles.textStrong]}>{userEmailOrPhone}</Text>.
Expand Down

0 comments on commit 7eacc10

Please sign in to comment.