From 46ab2ef854b718ae57dd99d0d4835dc3897086af Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Thu, 23 Jul 2009 16:42:07 -0400 Subject: Clear the WebTextView when clicking on another node. We already cleared it in the above case, when the user clicks on empty space. If the user clicks on a node, and it is not a text input, clear it. This fixes a bug on the Google home page, where the user has typed into the textfield, but then clicks on "more" and is then unable to click on Gmail, which is covered by the (invisible) WebTextView. --- WebKit/android/nav/WebView.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'WebKit') diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp index cf1e486..ec57a3b 100644 --- a/WebKit/android/nav/WebView.cpp +++ b/WebKit/android/nav/WebView.cpp @@ -955,6 +955,7 @@ bool motionUp(int x, int y, int slop) rebuildWebTextView(); displaySoftKeyboard(true); } else { + clearTextEntry(); setFollowedLink(true); if (type != NORMAL_CACHEDNODETYPE) overrideUrlLoading(result->getExport()); -- cgit v1.1