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 is not reliably set #280

Open
Groschenroman opened this issue Jun 15, 2023 · 0 comments
Open

orientation is not reliably set #280

Groschenroman opened this issue Jun 15, 2023 · 0 comments

Comments

@Groschenroman
Copy link

Describe the bug
The value for orientation is not reliably set. When testing a page with Browserstack for example, the orientation remains as portrait regardless of the actual device orientation.

To Reproduce
Steps to reproduce the behavior:

  1. Add an event listener to the window resize event
  2. Read and console.log the current value for orienation
  3. Push the branch to test with Browserstack (or use Browserstack Local) for example
  4. Open developer tools
  5. The log will always say portrait regardless of the actual device orientation

Expected behavior
The value for orientation should reliably be set in correspondence with the actual device orientation.

Screenshots
Screenshot 2023-06-15 at 16 40 46
Screenshot 2023-06-15 at 16 41 02
Screenshot 2023-06-15 at 16 41 16

Desktop (please complete the following information):
-> handheld devices only

Smartphone (please complete the following information):

  • Device: iPhone14 Pro
  • OS: iOS 16.3
  • Browser: Safari

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant