01-10-2013 08:33 PM
I am trying to auto focus on a first text field and the web view is in a OAUTH scenario. I tried adding a listener for the web view using WebViewEvent.DOCUMENT_LOAD_FINISHED and in the callback function issued
webView.assignFocus(FocusDirection.TOP) in the anticipation that the first text field is where the cursor will be placed automatically which will cause the keyboard popup & zoom factor of the webview automatically adjusted.
The above solution does not work and all I get is a full web view loaded in the assigned view port which does not make it aesthetically pleasing.