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 event #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

precz
Copy link

@precz precz commented Nov 29, 2012

Added orientationEvent option. Now 'onorientationchange' could be disabled

@arnemart
Copy link
Contributor

Hm, I am sceptical about this. What is the reason to do it this way?

@precz
Copy link
Author

precz commented Nov 29, 2012

There was a problem on cheap Android devices. The orientation event is fired up before window is resized. The delay is different on every device. So we can't relay on orientationchange event.

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

Successfully merging this pull request may close these issues.

2 participants