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

$(window).height() cannot get correct value after scroll down in ios #47

Closed
wants to merge 1 commit into from
Closed

Conversation

girvan
Copy link

@girvan girvan commented Aug 8, 2012

Hi tuupola:

window's height in ios is dynamic, window's height will increase after user scroll down, because url bar will be hidden.
$(window).height() cannot get correct value, use (window.innerHeight ? window.innerHeight : $window.height()) instead.

YUI lazy load also have same problem. I tried the demo page in my iphone and ipad (ios5 without JB).

Thanks.
Girvan

…r user scroll down, but .height() will get old value
@ghost ghost assigned tuupola Sep 27, 2012
@tuupola
Copy link
Owner

tuupola commented Nov 21, 2012

Merged in 1.9.x. Thanks!

@tuupola tuupola closed this Nov 21, 2012
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