diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-28 15:48:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 15:48:55 -0800 |
commit | 9e330d2c6a2c4c1ffd0f1fc01e6ce910b1453422 (patch) | |
tree | 2dada1d04f0df596b52fa0b5e1fd681e24775368 /src | |
parent | 709b0b60029f1d6d9f18f81788a1420c69591959 (diff) | |
download | voidsky-9e330d2c6a2c4c1ffd0f1fc01e6ce910b1453422.tar.zst |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/create/Step2.tsx | 9 | ||||
-rw-r--r-- | src/view/com/auth/login/LoginForm.tsx | 1 | ||||
-rw-r--r-- | src/view/screens/Search/Search.tsx | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index 123b5f662..8b143ff37 100644 --- a/src/view/com/auth/create/Step2.tsx +++ b/src/view/com/auth/create/Step2.tsx @@ -71,6 +71,9 @@ export function Step2({ onChange={value => uiDispatch({type: 'set-invite-code', value})} accessibilityLabel={_(msg`Invite code`)} accessibilityHint="Input invite code to proceed" + autoCapitalize="none" + autoComplete="off" + autoCorrect={false} /> </View> )} @@ -105,6 +108,9 @@ export function Step2({ accessibilityLabel={_(msg`Email`)} accessibilityHint="Input email for Bluesky waitlist" accessibilityLabelledBy="email" + autoCapitalize="none" + autoComplete="off" + autoCorrect={false} /> </View> @@ -126,6 +132,9 @@ export function Step2({ accessibilityLabel={_(msg`Password`)} accessibilityHint="Set password" accessibilityLabelledBy="password" + autoCapitalize="none" + autoComplete="off" + autoCorrect={false} /> </View> diff --git a/src/view/com/auth/login/LoginForm.tsx b/src/view/com/auth/login/LoginForm.tsx index a39d0d9bf..727a0e945 100644 --- a/src/view/com/auth/login/LoginForm.tsx +++ b/src/view/com/auth/login/LoginForm.tsx @@ -174,6 +174,7 @@ export const LoginForm = ({ autoCorrect={false} autoComplete="username" returnKeyType="next" + textContentType="username" onSubmitEditing={() => { passwordInputRef.current?.focus() }} diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index df3c38267..da3a82a4d 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -612,6 +612,7 @@ export function SearchScreen( ) : ( <ScrollView style={{height: '100%'}} + // @ts-ignore web only -prf dataSet={{stableGutters: '1'}} keyboardShouldPersistTaps="handled" keyboardDismissMode="on-drag"> |