Skip to content Skip to sidebar Skip to footer

Ios7 Issues With Webview Focus When Using Keyboard Html

Sencha - I have a webapp with a registration form that works correctly on Safari. However, for some reason when adding the page to home screen (using ios webview) this issue appea

Solution 1:

I found the solution for iOS 7. Use the following meta tag in your HTML pages:

<metaname="viewport"content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, target-densityDpi=device-dpi" />

Solution 2:

I faced the same issue. In my case i am using jquery mobile and to solve this issue i added the attribute "autofocus" to the input field. This seems to simulate a first tap on the field whereas the tap by the user opens the keyboard and he will be able to write to the field. Hope this helps.

Post a Comment for "Ios7 Issues With Webview Focus When Using Keyboard Html"