You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nicole Kelley (JIRA)" <ji...@apache.org> on 2017/07/19 22:54:02 UTC
[jira] [Created] (CB-13038) Device Rotate on android triggered out
of order
Nicole Kelley created CB-13038:
----------------------------------
Summary: 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org