CB-11248 InAppBrowser no focus on input text fields

This commit is contained in:
daserge 2017-02-28 17:31:22 +03:00
parent 0f5de8524f
commit c9ff78abfd

View File

@ -1046,6 +1046,10 @@ public class InAppBrowser extends CordovaPlugin {
CookieSyncManager.getInstance().sync(); CookieSyncManager.getInstance().sync();
} }
// https://issues.apache.org/jira/browse/CB-11248
view.clearFocus();
view.requestFocus();
try { try {
JSONObject obj = new JSONObject(); JSONObject obj = new JSONObject();
obj.put("type", LOAD_STOP_EVENT); obj.put("type", LOAD_STOP_EVENT);