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

Use document scroll height instead of offset height #11722

Merged
merged 1 commit into from Dec 25, 2013
Merged

Conversation

DocX
Copy link
Contributor

@DocX DocX commented Dec 5, 2013

When body height is set in absolute pixels or percents of viewport, offsetHeight gives bad number. Use scrollHeight instead. It is also used in script few lines above this change.

fat added a commit that referenced this pull request Dec 25, 2013
Use document scroll height instead of offset height
@fat fat merged commit 0fab6e7 into twbs:master Dec 25, 2013
@fat
Copy link
Member

fat commented Dec 25, 2013

sounds good thanks

@mdo mdo mentioned this pull request Dec 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants