Skip to content

Commit

Permalink
fix magic code input behind keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Sep 11, 2024
1 parent 3e3388d commit 4e21f05
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 4e21f05

Please sign in to comment.