Doug Davies created CB-14093:
--------------------------------
Summary: Setting a viewport scale factor on Android causes issues
Key: CB-14093
URL: https://issues.apache.org/jira/browse/CB-14093
Project: Apache Cordova
Issue Type: Bug
Reporter: Doug Davies
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.
Copy [~wtrocki] as instructed.
I tried this on iOS and without that it also scrolled around. So not sure in
what component the problem lies.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]