[
https://issues.apache.org/jira/browse/CB-14093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Davies updated CB-14093:
-----------------------------
Summary: Setting a viewport scale factor causes page to be draggable (was:
Setting a viewport scale factor on Android causes issues)
> Setting a viewport scale factor causes page to be draggable
> -----------------------------------------------------------
>
> Key: CB-14093
> URL: https://issues.apache.org/jira/browse/CB-14093
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Doug Davies
> Priority: Major
>
> I'm using Cordova 7.1.0. When I set the following viewport meta tag
> <meta name="viewport" content="user-scalable=no, initial-scale=1.13,
> maximum-scale=1.13, minimum-scale=1.13, width=device-width">
> The screen is draggable. If I change to 1.14, then it is not.
> You can reproduce this as follows:
> {code:java}
> cordova create demo
> cd demo
> cordova add platform [email protected]
> change viewport in index.html to
> <meta name="viewport" content="user-scalable=no, initial-scale=1.13,
> maximum-scale=1.13, minimum-scale=1.13, width=device-width">
> cordova run android
> {code}
> My real app does this dynamically so that tablets scale the UI up
> appropriately. I swear this has been working until recently, but I can't say
> for sure. On iOS the viewport-fit=cover seems to be taking care of this,
> although I didn't add that until I needed iPhone X support.
> Copying [~wtrocki] as instructed.
> I tried this on iOS and without that it also scrolled around. So not sure in
> what component the problem lies.
> It seems very random… 1.11, 1.12, 1.14, 1.17, 1.18, 1.19 work… 1.13, 1.15,
> 1.16 don’t
> I've tried this on a stand-alone (non-cordovan page) and it ALWAYS seems to
> be scrolling. So Cordova must be intervening and helping at least some of
> the time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]