You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Add an event listener to the window resize event
Read and console.log the current value for orienation
Push the branch to test with Browserstack (or use Browserstack Local) for example
Open developer tools
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
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
The value for
orientation
is not reliably set. When testing a page with Browserstack for example, the orientation remains asportrait
regardless of the actual device orientation.To Reproduce
Steps to reproduce the behavior:
resize
eventconsole.log
the current value fororienation
portrait
regardless of the actual device orientationExpected behavior
The value for
orientation
should reliably be set in correspondence with the actual device orientation.Screenshots
Desktop (please complete the following information):
-> handheld devices only
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: