Skip to content

Commit

Permalink
Merge pull request #48993 from bernhardoj/fix/48461-magic-code-input-…
Browse files Browse the repository at this point in the history
…behind-keyboard

Fix 2FA magic code input behind keyboard
  • Loading branch information
Julesssss committed Sep 13, 2024
2 parents caf529b + 4e21f05 commit 00bc167
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function StepWrapper({
<ScreenWrapper
shouldShowOfflineIndicator={false}
shouldEnableKeyboardAvoidingView={shouldEnableKeyboardAvoidingView}
shouldEnableMaxHeight
testID={StepWrapper.displayName}
>
<AnimatedStep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function GetCode({account}: GetCodeProps) {
return (
<StepWrapper
title={translate('twoFactorAuth.disableTwoFactorAuth')}
shouldEnableKeyboardAvoidingView={false}
onBackButtonPress={() => setStep(CONST.TWO_FACTOR_AUTH_STEPS.ENABLED, CONST.ANIMATION_DIRECTION.OUT)}
onEntryTransitionEnd={() => formRef.current && formRef.current.focus()}
>
Expand Down

0 comments on commit 00bc167

Please sign in to comment.