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

Not always working on Iphone iOS 12 Safari after orientation change #68

Open
mrk197702 opened this issue Jul 4, 2020 · 2 comments
Open

Comments

@mrk197702
Copy link

After orientation Change ('resize' listener) I call in this order:

  • iNoBounce.disable();
  • window.location.reload();
  • iNoBounce.enable();

Sometimes there's no bounce, sometimes there is (only in landscape, in portrait is perfect).
Am I doing omething wrong? Any suggestion?

Thanks

@lazd
Copy link
Owner

lazd commented Jul 4, 2020

No idea without seeing a full example reproducing the problem.

You shouldn't have to call enable() if you reload the page.

@mrk197702
Copy link
Author

You're right I don't need to call enable if I reload the page

Look here:

http://www.marcocasarin.com/test/

Thanks

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