Quick fix to ensure disable 2fa dialog adjusts to keyboard (#3658)
parent
710e913024
commit
30c2c05103
|
@ -144,7 +144,7 @@ export function DisableEmail2FADialog({
|
||||||
</TextField.LabelText>
|
</TextField.LabelText>
|
||||||
<TextField.Root>
|
<TextField.Root>
|
||||||
<TextField.Icon icon={Lock} />
|
<TextField.Icon icon={Lock} />
|
||||||
<TextField.Input
|
<Dialog.Input
|
||||||
testID="confirmationCode"
|
testID="confirmationCode"
|
||||||
label={_(msg`Confirmation code`)}
|
label={_(msg`Confirmation code`)}
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
|
@ -153,6 +153,7 @@ export function DisableEmail2FADialog({
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
value={confirmationCode}
|
value={confirmationCode}
|
||||||
onChangeText={setConfirmationCode}
|
onChangeText={setConfirmationCode}
|
||||||
|
onSubmitEditing={onConfirmDisable}
|
||||||
editable={!isProcessing}
|
editable={!isProcessing}
|
||||||
/>
|
/>
|
||||||
</TextField.Root>
|
</TextField.Root>
|
||||||
|
|
Loading…
Reference in New Issue