You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/07/14 02:42:25 UTC
[cordova-android] branch master updated: fix: request focus after
custom view hided (#1216)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git
The following commit(s) were added to refs/heads/master by this push:
new 3e870e3 fix: request focus after custom view hided (#1216)
3e870e3 is described below
commit 3e870e3a04f66da0d3e1805b2d925c849df06580
Author: Dominik Hendrix <do...@hotmail.de>
AuthorDate: Wed Jul 14 04:42:19 2021 +0200
fix: request focus after custom view hided (#1216)
Co-authored-by: Dominik Hendrix <he...@schaffrath-digital.de>
---
framework/src/org/apache/cordova/CordovaWebViewImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/framework/src/org/apache/cordova/CordovaWebViewImpl.java b/framework/src/org/apache/cordova/CordovaWebViewImpl.java
index 57b5232..2b8a8f8 100644
--- a/framework/src/org/apache/cordova/CordovaWebViewImpl.java
+++ b/framework/src/org/apache/cordova/CordovaWebViewImpl.java
@@ -338,6 +338,7 @@ public class CordovaWebViewImpl implements CordovaWebView {
// Show the content view.
engine.getView().setVisibility(View.VISIBLE);
+ engine.getView().requestFocus();
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org