Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable orientation by default on non-mobile devices that may have ac…
…celerometers (#10)
- Loading branch information
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to have mistakenly identified and disabled orientation (only get full screen button) on Nexus 5 phone, running marshmallow. It is working on S3.
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick update, looks like this might be a Marshmallow specific thing. Tested on Nexus Tablet running Lollipop and no issues. Previously mentioned S3 was Jellybean (Samsung borked)
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should not have any effect on whether you see the orientation button. The button should appear soon as the first
deviceorientation
event fires.Are all these devices running the same version of Chrome? Does orientation work with other apps on the Nexus 5? How about other web pages?
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing the research. That's frustrating and, frankly, typical of the kind of regressions that I often see in mobile browsers. I have starred the issue and will be keeping an eye on it.
69859a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.