cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8088) Viewport fails to scale after showing keyboard
Date Wed, 21 Oct 2015 15:04:27 GMT

    [ https://issues.apache.org/jira/browse/CB-8088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967278#comment-14967278
] 

jcesarmobile commented on CB-8088:
----------------------------------

What do you want to achieve with <preference name="EnableViewportScale" value="true" />?
that's for letting the user to zoom the content of the webview, but then you configure the
viewport user-scalable=no, so the user can't zoom.


Anyway, the problem isn't really the viewport, it's a bug on the webview that happens when
the zoom changes (and when the keyboard appears)

> Viewport fails to scale after showing keyboard
> ----------------------------------------------
>
>                 Key: CB-8088
>                 URL: https://issues.apache.org/jira/browse/CB-8088
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.5.0
>            Reporter: Ryan Willoughby
>              Labels: cordova-ios-4.0.x, ios, keyboard, viewport
>
> 1. Enable viewport scaling using the following config.xml preference:
>     <preference name="EnableViewportScale"  value="true" />
> 2. Set viewport width to device-width. Here's my viewport:
>     <meta name="viewport" content="user-scalable=no, width=device-width, height=device-height,
target-densitydpi=device-dpi" />
> 3. Launch app, and rotate device to trigger rescaling. Works.
> 4. Focus on an input to show the keyboard. Hide the keyboard.
> 5. Rotate device to trigger rescaling. Doesn't rescale.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message