Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Width and height are updated incorrectly after orientationchange event #467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pulges
Copy link

@pulges pulges commented Mar 20, 2014

When orientationchange event occurs, client width and height are sometimes wrong especially for large webpages. Reason is that rendering has not finished. This can result in window scroll div height being set to wrong height after orientation change. Waiting for browser to finish rendering should fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant