• 0

webview autofocus not working with input

If you are using webview to load other website, and if that website has autofocus enabled then autofocus will not work in the webview by default. You will have to explicitly enable the autofocus. One way to do this is to get the webview element and then call focus method on it as shown below.

var webview = document.getElementById('webview-foo');
webview.focus();
If you want to write more about webview related issues, let us know by leaving your comments below.