fix: refocus after webview visible (#186) (#314)

This commit is contained in:
Ken Naito 2021-07-28 14:43:09 +09:00 committed by GitHub
parent be673a94ac
commit 66d1e00e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,6 +194,7 @@ public class SplashScreen extends CordovaPlugin {
} else if ("spinner".equals(id)) {
if ("stop".equals(data.toString())) {
getView().setVisibility(View.VISIBLE);
getView().requestFocus();
}
} else if ("onReceivedError".equals(id)) {
this.spinnerStop();