You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jason Vertucio (JIRA)" <ji...@apache.org> on 2016/06/09 18:36:20 UTC

[jira] [Created] (CB-11405) Screen Orientation - Unlocking orientation leaves it in current orientation, despite device at new orientation

Jason Vertucio created CB-11405:
-----------------------------------

             Summary: Screen Orientation - Unlocking orientation leaves it in current orientation, despite device at new orientation
                 Key: CB-11405
                 URL: https://issues.apache.org/jira/browse/CB-11405
             Project: Apache Cordova
          Issue Type: Bug
         Environment: iPhone 6, iPhone 6+, iOS 9.3

            Reporter: Jason Vertucio


Locking the device orientation snaps the onscreen image to that orientation. However, it doesn't work the other way around.

*To reproduce:*
# {{screen.lockOrientation('portrait-primary');}}
# Turn phone sideways, to landscape mode
# {{screen.unlockOrientation();}}

*Expected:*
# View rotates to match new orientation

*Actual:*
# View now appears sideways, as if no rotation was registered. 



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