cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dase...@apache.org
Subject cordova-plugin-inappbrowser git commit: CB-11248 InAppBrowser no focus on input text fields
Date Mon, 20 Mar 2017 09:40:45 GMT
Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 0f5de8524 -> c9ff78abf


CB-11248 InAppBrowser no focus on input text fields


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/c9ff78ab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/c9ff78ab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/c9ff78ab

Branch: refs/heads/master
Commit: c9ff78abfda78d89df887369da22ba2cd5f29159
Parents: 0f5de85
Author: daserge <v-seshak@microsoft.com>
Authored: Tue Feb 28 17:31:22 2017 +0300
Committer: daserge <v-seshak@microsoft.com>
Committed: Mon Mar 20 12:21:04 2017 +0300

----------------------------------------------------------------------
 src/android/InAppBrowser.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/c9ff78ab/src/android/InAppBrowser.java
----------------------------------------------------------------------
diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
index c10617e..fefbcec 100644
--- a/src/android/InAppBrowser.java
+++ b/src/android/InAppBrowser.java
@@ -1046,6 +1046,10 @@ public class InAppBrowser extends CordovaPlugin {
                 CookieSyncManager.getInstance().sync();
             }
 
+            // https://issues.apache.org/jira/browse/CB-11248
+            view.clearFocus();
+            view.requestFocus();
+
             try {
                 JSONObject obj = new JSONObject();
                 obj.put("type", LOAD_STOP_EVENT);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message