Quick fix to ensure disable 2fa dialog adjusts to keyboard (#3658)

zio/stable
Paul Frazee 2024-04-22 19:43:54 -07:00 committed by GitHub
parent 710e913024
commit 30c2c05103
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@ export function DisableEmail2FADialog({
</TextField.LabelText>
<TextField.Root>
<TextField.Icon icon={Lock} />
<TextField.Input
<Dialog.Input
testID="confirmationCode"
label={_(msg`Confirmation code`)}
autoCapitalize="none"
@ -153,6 +153,7 @@ export function DisableEmail2FADialog({
autoComplete="off"
value={confirmationCode}
onChangeText={setConfirmationCode}
onSubmitEditing={onConfirmDisable}
editable={!isProcessing}
/>
</TextField.Root>