You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kuan Yi Ming (JIRA)" <ji...@apache.org> on 2014/08/13 12:04:11 UTC
[jira] [Commented] (CB-7297) WebView doesn't reposition elements
moved when the keyboard pops up
[ https://issues.apache.org/jira/browse/CB-7297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095336#comment-14095336 ]
Kuan Yi Ming commented on CB-7297:
----------------------------------
Partial workaround: using the Ionic keyboard plugin to disable webview scrolling natively can fix this in some instances, but not always.
> WebView doesn't reposition elements moved when the keyboard pops up
> -------------------------------------------------------------------
>
> Key: CB-7297
> URL: https://issues.apache.org/jira/browse/CB-7297
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.5.0
> Environment: iOS only
> Reporter: Kuan Yi Ming
>
> Whenever the keyboard pops up, the WebView scrolls the web page to put the focused element on the web view. When combined with a fixed position header, sometimes this causes the header to be bumped partially or completely off the screen while the keyboard is up, particularly on the non-widescreen iPhones. However, if a content div tag under the header is set to display:none, it may be moved up with the header, but its position isn't reset when the keyboard is hidden.
--
This message was sent by Atlassian JIRA
(v6.2#6252)