From 273fe3e8e9f3ba1807d9f5163c02db9db58b0c22 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 15 Mar 2024 14:21:38 +0000 Subject: [PATCH] scrollview persist taps, autoFocus code --- src/screens/Login/FormContainer.tsx | 3 ++- src/screens/Login/SetNewPasswordForm.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/screens/Login/FormContainer.tsx b/src/screens/Login/FormContainer.tsx index a08aa05b..cd17d06d 100644 --- a/src/screens/Login/FormContainer.tsx +++ b/src/screens/Login/FormContainer.tsx @@ -29,7 +29,8 @@ export function FormContainer({ return ( + style={[styles.maxHeight, contentContainerStyle]} + keyboardShouldPersistTaps="handled"> {title && !gtMobile && ( diff --git a/src/screens/Login/SetNewPasswordForm.tsx b/src/screens/Login/SetNewPasswordForm.tsx index 8fbd798c..0bfe7224 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}