cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémi Couturier (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CB-8221) WebView is not resizing after changing the orientation to Portrait to Landscape
Date Wed, 01 Apr 2015 20:36:53 GMT

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

Rémi Couturier edited comment on CB-8221 at 4/1/15 8:36 PM:
------------------------------------------------------------

That might be an issue with your app's CSS.
Try to add the following code in your CSS:
html, body { height: 100%; }
And add height: 100%; on the div wrapping your app. (the one with the light grey background
on your image).


was (Author: welovewebdesign):
That might be an issue with your app's CSS.
Try to add the following code in your CSS: html, body { height: 100%; }
And add height: 100%; on the div wrapping your app. (the one with the light grey background
on your image).

> WebView is not resizing after changing the orientation to Portrait to Landscape
> -------------------------------------------------------------------------------
>
>                 Key: CB-8221
>                 URL: https://issues.apache.org/jira/browse/CB-8221
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.0.0
>            Reporter: Amey Kshirsagar
>            Assignee: Joe Bowser
>            Priority: Minor
>             Fix For: 3.9.0
>
>
> While the app is running in Landscape mode, the height of the app's WebView is stays
as the device's width in Portrait mode. 



--
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