Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
suneox committed Jun 7, 2024
1 parent b18b681 commit d7714ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/signin/LoginForm/BaseLoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function BaseLoginForm({account, credentials, closeAccount, blurOnSubmit = false
if (!Browser.isMobileWebKit()) {
return;
}
// On mobile WebKit browsers, when an input field gains focus, the keyboard appears and the virtual viewport is resized and scrolled to make the input field visible.
// On mobile WebKit browsers, when an input field gains focus, the keyboard appears and the virtual viewport is resized and scrolled to make the input field visible.
// This occurs even when there is enough space to display both the input field and the submit button in the current view.
// so this change to correct the scroll position when the input field gains focus.
InteractionManager.runAfterInteractions(() => {
Expand Down

0 comments on commit d7714ee

Please sign in to comment.