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

Joe Bowser resolved CB-13038.
-----------------------------
    Resolution: Workaround

Don't use Javascript for layout since you can't control the speed of the JS 
execution, which can easily cause this error.

> 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: Joe 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to