-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Screen rotation is reset if an alert is visible #300
Comments
Looks like XCTest issue. |
@mykola-mokhnach can you raise this issue to Apple? |
@marekcirkos With pleasure. Can you please provide a link to their bugtracker, where I can place this issue? |
Reported this to Apple. Shell we keep this issue opened? |
I think we should keep it for tracking and to let people know it is "Know issue" |
@mykola-mokhnach Is this still an issue? |
I will check it again and comment the issue. In theory, this workaround we did for landscape, should work for it. |
Yup, the workaround works perfectly now with the recent WDA commits. The issue can be closed. |
Seems like the problem is relevant only for security alerts generated by iOS itself. |
is there a way to follow this issue in the apple bugtracker? |
You should open your own, to give Apple stronger signal. |
@marekcirkos what is the reason for closing this? Is there a solution from Apple available? |
This should be fix. If it is not please reopen |
@marekcirkos I'm using the below configuration and I still have this problem. Is there anything I need to update to get this fix?
Device:
PS. I don't think i have the rights to re-open this issue. |
Steps to reproduce:
Actual result:
![1](https://cloud.githubusercontent.com/assets/7767781/18868667/58b85376-84a9-11e6-867a-fe5612c0eeb7.png)
![2](https://cloud.githubusercontent.com/assets/7767781/18868692/6b82eafc-84a9-11e6-902d-d88d4721e6c1.png)
All the application metrics are forcefully changed to portrait mode, thus the UI and getRotation API say we are still in landscape:
Everything returns back to normal after the alert is accepted or dismissed:
Although the standard alert.accept API call has no effect, since it internally assumes wrong alert coordinates (in portrait mode it works as expected)
Expected result:
The text was updated successfully, but these errors were encountered: