scrollview persist taps, autoFocus code

zio/stable
Samuel Newman 2024-03-15 14:21:38 +00:00
parent 0f67be3627
commit 273fe3e8e9
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,8 @@ export function FormContainer({
return ( return (
<ScrollView <ScrollView
testID={testID} testID={testID}
style={[styles.maxHeight, contentContainerStyle]}> style={[styles.maxHeight, contentContainerStyle]}
keyboardShouldPersistTaps="handled">
<View <View
style={[a.gap_lg, a.flex_1, !gtMobile && [a.px_lg, a.pt_md], style]}> style={[a.gap_lg, a.flex_1, !gtMobile && [a.px_lg, a.pt_md], style]}>
{title && !gtMobile && ( {title && !gtMobile && (

View File

@ -113,6 +113,7 @@ export const SetNewPasswordForm = ({
testID="resetCodeInput" testID="resetCodeInput"
label={_(msg`Looks like XXXXX-XXXXX`)} label={_(msg`Looks like XXXXX-XXXXX`)}
autoCapitalize="none" autoCapitalize="none"
autoFocus={true}
autoCorrect={false} autoCorrect={false}
autoComplete="off" autoComplete="off"
value={resetCode} value={resetCode}