QML WebView does not lose Keyboard Focus
I’m developing a mobile application that hooks up to Facebook and to do that I have to present Facebook’s login dialog. I have a Webview that loads the login page. When I click on the entry fields, the virtual keyboard rises and I am able to login successfully. However, after I set the webview focus to false and remove it from view, the keyboard doesn’t hide itself and stays on the screen over the other elements.
How do I unset the focus on the webview such that the keyboard will hide itself? Or is this due to keyboard being focused on an element inside the web page? Is there a method that will force the keyboard to hide itself?