You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sébastien Blanc (JIRA)" <ji...@apache.org> on 2014/09/22 14:42:33 UTC
[jira] [Created] (CB-7608) Add option to set "useWideViewPort" to
false.
Sébastien Blanc created CB-7608:
-----------------------------------
Summary: Add option to set "useWideViewPort" to false.
Key: CB-7608
URL: https://issues.apache.org/jira/browse/CB-7608
Project: Apache Cordova
Issue Type: Improvement
Components: Android, Plugin InAppBrowser
Affects Versions: 3.5.0
Reporter: Sébastien Blanc
When using inAppBrowser with Android, the viewport tag of the loaded page is ignored. As a result, some pages using a specific viewport (for instance an Ionic view) are completly zoomed out.
With iOS it's possible to fix that by passing "enableViewportScale" but for Android the only way to fix this is to set 'useWideViewPort' to 'false' . It's now harcoded to 'true' https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L620.
We should be able to pass the value through the option (i.e : 'location=no, useWideViewPort=no')
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)