Skip to content

Commit

Permalink
blur login page input only when transitioned to magic link page
Browse files Browse the repository at this point in the history
  • Loading branch information
huzaifa-99 committed Dec 1, 2022
1 parent 76fbdeb commit 5dd2d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/signin/SignInPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SignInPage extends Component {
>
{/* LoginForm and PasswordForm must use the isVisible prop. This keeps them mounted, but visually hidden
so that password managers can access the values. Conditionally rendering these components will break this feature. */}
<LoginForm isVisible={showLoginForm} blurOnSubmit={shouldShowResendValidationLinkForm} />
<LoginForm isVisible={showLoginForm} blurOnSubmit={this.props.account.validated === false} />
<PasswordForm isVisible={showPasswordForm} />
{shouldShowResendValidationLinkForm && <ResendValidationForm />}
</SignInPageLayout>
Expand Down

0 comments on commit 5dd2d95

Please sign in to comment.