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

Setting "desktop" incorrectly remembers mobile viewport orientation #1

Open
cobyism opened this issue Feb 15, 2013 · 0 comments
Open
Labels

Comments

@cobyism
Copy link
Owner

cobyism commented Feb 15, 2013

There’s a bug in the way I’m remembering/reinstating mobile viewport orientation.

To reproduce:

  1. Load shapeshifter.
  2. Change to a mobile viewport.
  3. Change the orientation to landscape.
  4. Change back to desktop viewport.
  5. Reload the page.

Result:

  • The mobile viewport icons will all set the viewport to portrait.
  • Changing to a mobile viewport (will make it portrait), and then refreshing swaps the orientation back to landscape.

Expected result:

  • The mobile viewport icons should all set the viewport to landscape, without having to refresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant