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

Game positioned incorrectly on the page in Android 4.0 #46

Open
aurhe opened this issue Nov 9, 2012 · 0 comments
Open

Game positioned incorrectly on the page in Android 4.0 #46

aurhe opened this issue Nov 9, 2012 · 0 comments

Comments

@aurhe
Copy link
Contributor

aurhe commented Nov 9, 2012

On Android 4.0 sometimes the game is positioned incorrectly on the page and gets stuck half way the screen. This happens only sometimes when the page loads or when the orientation changes. It does not happen on earlier Android versions, neither in 4.1 because it uses Chrome as the default browser.

For instance, this problem can be observed on a Android 4.0 device or emulator running the LimeJS demo games.

I think that is happening because the browser is reporting incorrectly the height of the page during the resize and orientationchange events. Those events are being fired before the page is fully loaded or rotated.

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

1 participant