Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f523594 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7910

* changes:
  Do not hide the soft keyboard when the DOM has moved focus.
parents 90ad64b2 10be4fc6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -118,7 +118,11 @@ import java.util.ArrayList;

        if (!isArrowKey && mWebView.nativeFocusNodePointer() != mNodePointer) {
            mWebView.nativeClearCursor();
            remove();
            // Do not call remove() here, which hides the soft keyboard.  If
            // the soft keyboard is being displayed, the user will still want
            // it there.
            mWebView.removeView(this);
            mWebView.requestFocus();
            return mWebView.dispatchKeyEvent(event);
        }