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

Commit 10c7a4da authored by Leon Scroggins's avatar Leon Scroggins
Browse files

Clear the WebTextView in didFirstLayout.

When reaching a new page, remove the WebTextView. This
fixes a bug where the user logs into a site, and the
WebTextView remains on screen.
parent 2e661a7c
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -4918,6 +4918,11 @@ public class WebView extends AbsoluteLayout
                        }
                        }
                    }
                    }
                    setNewZoomScale(scale, false);
                    setNewZoomScale(scale, false);
                    // As we are on a new page, remove the WebTextView.  This
                    // is necessary for page loads driven by webkit, and in
                    // particular when the user was on a password field, so
                    // the WebTextView was visible.
                    clearTextEntry();
                    break;
                    break;
                case MOVE_OUT_OF_PLUGIN:
                case MOVE_OUT_OF_PLUGIN:
                    if (nativePluginEatsNavKey()) {
                    if (nativePluginEatsNavKey()) {