Create account tweaks (#2365)
* Disable autocomplete, autocapitalize, and autocorrect in create account login * Add username textContentType to login to try to prompt password manager more regularly * Fix type
This commit is contained in:
@@ -71,6 +71,9 @@ export function Step2({
|
|||||||
onChange={value => uiDispatch({type: 'set-invite-code', value})}
|
onChange={value => uiDispatch({type: 'set-invite-code', value})}
|
||||||
accessibilityLabel={_(msg`Invite code`)}
|
accessibilityLabel={_(msg`Invite code`)}
|
||||||
accessibilityHint="Input invite code to proceed"
|
accessibilityHint="Input invite code to proceed"
|
||||||
|
autoCapitalize="none"
|
||||||
|
autoComplete="off"
|
||||||
|
autoCorrect={false}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
@@ -105,6 +108,9 @@ export function Step2({
|
|||||||
accessibilityLabel={_(msg`Email`)}
|
accessibilityLabel={_(msg`Email`)}
|
||||||
accessibilityHint="Input email for Bluesky waitlist"
|
accessibilityHint="Input email for Bluesky waitlist"
|
||||||
accessibilityLabelledBy="email"
|
accessibilityLabelledBy="email"
|
||||||
|
autoCapitalize="none"
|
||||||
|
autoComplete="off"
|
||||||
|
autoCorrect={false}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
@@ -126,6 +132,9 @@ export function Step2({
|
|||||||
accessibilityLabel={_(msg`Password`)}
|
accessibilityLabel={_(msg`Password`)}
|
||||||
accessibilityHint="Set password"
|
accessibilityHint="Set password"
|
||||||
accessibilityLabelledBy="password"
|
accessibilityLabelledBy="password"
|
||||||
|
autoCapitalize="none"
|
||||||
|
autoComplete="off"
|
||||||
|
autoCorrect={false}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|||||||
@@ -174,6 +174,7 @@ export const LoginForm = ({
|
|||||||
autoCorrect={false}
|
autoCorrect={false}
|
||||||
autoComplete="username"
|
autoComplete="username"
|
||||||
returnKeyType="next"
|
returnKeyType="next"
|
||||||
|
textContentType="username"
|
||||||
onSubmitEditing={() => {
|
onSubmitEditing={() => {
|
||||||
passwordInputRef.current?.focus()
|
passwordInputRef.current?.focus()
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -612,6 +612,7 @@ export function SearchScreen(
|
|||||||
) : (
|
) : (
|
||||||
<ScrollView
|
<ScrollView
|
||||||
style={{height: '100%'}}
|
style={{height: '100%'}}
|
||||||
|
// @ts-ignore web only -prf
|
||||||
dataSet={{stableGutters: '1'}}
|
dataSet={{stableGutters: '1'}}
|
||||||
keyboardShouldPersistTaps="handled"
|
keyboardShouldPersistTaps="handled"
|
||||||
keyboardDismissMode="on-drag">
|
keyboardDismissMode="on-drag">
|
||||||
|
|||||||
Reference in New Issue
Block a user