Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix for the showInput stackoverflow (#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Apr 2, 2020
1 parent b3bdd06 commit deefeeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ public void restartInput(@NonNull GeckoSession session, int reason) {
@Override
public void showSoftInput(@NonNull GeckoSession session) {
if (mFocusedView != mAttachedWindow || getVisibility() != View.VISIBLE || mInputRestarted) {
updateFocusedView(mAttachedWindow);
post(() -> updateFocusedView(mAttachedWindow));
}
mInputRestarted = false;
}
Expand Down

0 comments on commit deefeeb

Please sign in to comment.