Skip to content

Commit

Permalink
Merge pull request #29699 from ZhenjaHorbach/login-keyboard-is-not-co…
Browse files Browse the repository at this point in the history
…nsistent-in-safari

Login keyboard is not consistent in apps and browsers
  • Loading branch information
MonilBhavsar authored Oct 20, 2023
2 parents 73733d5 + 63218c9 commit 69cf29e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/PDFView/PDFPasswordForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function PDFPasswordForm({isFocused, isPasswordInvalid, shouldShowLoadingIndicat
autoCorrect={false}
textContentType="password"
onChangeText={updatePassword}
returnKeyType="done"
returnKeyType="go"
onSubmitEditing={submitPassword}
errorText={errorText}
onFocus={() => onPasswordFieldFocused(true)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function NewContactMethodPage(props) {
ref={(el) => (loginInputRef.current = el)}
inputID="phoneOrEmail"
autoCapitalize="none"
returnKeyType="done"
returnKeyType="go"
maxLength={CONST.LOGIN_CHARACTER_LIMIT}
/>
</View>
Expand Down
1 change: 1 addition & 0 deletions src/pages/signin/LoginForm/BaseLoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ function LoginForm(props) {
accessibilityLabel={translate('loginForm.phoneOrEmail')}
accessibilityRole={CONST.ACCESSIBILITY_ROLE.TEXT}
value={login}
returnKeyType="go"
autoCompleteType="username"
textContentType="username"
nativeID="username"
Expand Down

0 comments on commit 69cf29e

Please sign in to comment.