From 3e870e3a04f66da0d3e1805b2d925c849df06580 Mon Sep 17 00:00:00 2001 From: Dominik Hendrix Date: Wed, 14 Jul 2021 04:42:19 +0200 Subject: [PATCH] fix: request focus after custom view hided (#1216) Co-authored-by: Dominik Hendrix --- 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 57b5232a..2b8a8f89 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