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

Iphone Changing of Orientation #1

Open
kikz4life opened this issue Feb 8, 2012 · 1 comment
Open

Iphone Changing of Orientation #1

kikz4life opened this issue Feb 8, 2012 · 1 comment

Comments

@kikz4life
Copy link

Tried it on Iphone, left navigation half seen.
Scenario:

  1. View it in portrait orientation
  2. View it in landscape orientation
  3. View it again in portrait mode, the problem occurs here where left navigation partially seen.
@DemitryT
Copy link

DemitryT commented Oct 4, 2012

If the menu is active, I'm binding a function to the 'orientationchage' event and hiding the menu altogether. Simple fix for now:

$(document).bind('orientationchange', function(){
  $(".ui-page-active").animate({
    marginLeft: "0px",
  }, 300, function(){menuStatus = false});
 });        

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

2 participants