You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sophie (Jira)" <ji...@apache.org> on 2020/01/04 03:28:00 UTC

[jira] [Commented] (CB-13038) Device Rotate on android triggered out of order

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

sophie commented on CB-13038:
-----------------------------

Is there any document in official cordova site mentioning this? about recommending CSS media queries other than Javascript for style and layout? Thx.

> Device Rotate on android triggered out of order
> -----------------------------------------------
>
>                 Key: CB-13038
>                 URL: https://issues.apache.org/jira/browse/CB-13038
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>         Environment: - The latest version of Cordova. 
> - Used Cordova create app to generate an application without all extras to debug
> - used jQuery as well 
> -OS: Apple iMac 
>            Reporter: Nicole Kelley
>            Assignee: Joey Robert Bowser
>            Priority: Minor
>
> When developing for mobile apps, specifically Android, when the device rotates to landscape the orientation change is triggering before the content has a chance to adjust to the change, causing a delay in content rendering in the correct mode. Usually, the content does not change or changes the content to the opposite of the desired mode. For example, the landscape will show portrait or portrait will show landscape.  
> I have been able to fix the issue by setting a timeout function to delay the content change to wait for the device to understand which mode it is in (landscape or portrait) and then adjust the content to such mode. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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