You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/11/10 18:26:11 UTC

[jira] [Updated] (CB-7608) Add option to set "useWideViewPort" to false.

     [ https://issues.apache.org/jira/browse/CB-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Grebnov updated CB-7608:
-------------------------------
    Labels: Android Triaged  (was: Android)

> 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: Plugin InAppBrowser
>    Affects Versions: 3.5.0
>            Reporter: Sébastien Blanc
>              Labels: Android, Triaged
>
> PR : https://github.com/apache/cordova-plugin-inappbrowser/pull/66
> 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)

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