Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation fault #6484

Closed
spayton opened this issue Apr 19, 2023 · 1 comment
Closed

Orientation fault #6484

spayton opened this issue Apr 19, 2023 · 1 comment

Comments

@spayton
Copy link
Contributor

spayton commented Apr 19, 2023

Version

  • Phaser Version: 3.60.0
  • Operating system: iPhone iOS 14/15/16
  • Browser: Chrome

Description

On iPhone ios14/15/16 the orientation is switched on Chrome but correct on Safari.

This was noticed in my app then reproduced with labs orientation example, here: https://labs.phaser.io/mobile.html?src=src/scalemanager/orientation%20check.js

On an iPhone13 ios16, this is Chrome incorrectly identifying portrait mode and requesting switch to landscape

image

On same phone, this is safari correctly identifying landscape and not requesting any change.

image

Additional Information

Whilst both browsers correctly start, the problem occurs on the 1st device rotation and thereafter.

@spayton spayton changed the title Orientation Orientation fault Apr 20, 2023
@photonstorm
Copy link
Collaborator

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants