diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-15 14:21:38 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-15 14:21:38 +0000 |
commit | 273fe3e8e9f3ba1807d9f5163c02db9db58b0c22 (patch) | |
tree | 8c258b9c68f8aada4d702983c699311c4ec8443a /src | |
parent | 0f67be362751f4f65bfca473691c27acb816e05c (diff) | |
download | voidsky-273fe3e8e9f3ba1807d9f5163c02db9db58b0c22.tar.zst |
scrollview persist taps, autoFocus code
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Login/FormContainer.tsx | 3 | ||||
-rw-r--r-- | src/screens/Login/SetNewPasswordForm.tsx | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/Login/FormContainer.tsx b/src/screens/Login/FormContainer.tsx index a08aa05b0..cd17d06d7 100644 --- a/src/screens/Login/FormContainer.tsx +++ b/src/screens/Login/FormContainer.tsx @@ -29,7 +29,8 @@ export function FormContainer({ return ( <ScrollView testID={testID} - style={[styles.maxHeight, contentContainerStyle]}> + style={[styles.maxHeight, contentContainerStyle]} + keyboardShouldPersistTaps="handled"> <View style={[a.gap_lg, a.flex_1, !gtMobile && [a.px_lg, a.pt_md], style]}> {title && !gtMobile && ( diff --git a/src/screens/Login/SetNewPasswordForm.tsx b/src/screens/Login/SetNewPasswordForm.tsx index 8fbd798c8..0bfe72244 100644 --- a/src/screens/Login/SetNewPasswordForm.tsx +++ b/src/screens/Login/SetNewPasswordForm.tsx @@ -113,6 +113,7 @@ export const SetNewPasswordForm = ({ testID="resetCodeInput" label={_(msg`Looks like XXXXX-XXXXX`)} autoCapitalize="none" + autoFocus={true} autoCorrect={false} autoComplete="off" value={resetCode} |