document size with fixed toolbars #3694

DGuidi opened this Issue Mar 1, 2012 · 9 comments


None yet

5 participants


This is a page stub with 1.0.1:
the same stub using 1.1.0 RC1:
As you can see, the size of the page is bigger than the viewport.


This issue has already been addressed, see #3663.
Make sure you use the latest versions of jqm as suggested by the template, see here the resulting jsfiddle.
However the issue that the viewport expands one pixel when clicked upon, as suggested here, remains..


thanks a lot. I've checked a bit of someone already submitted this issue, but without success.

jQuery Foundation member

I belive this is fixed in latest build ( To view the code:



thanks again

jQuery Foundation member

@Wilto I thought this was fixed but now if you look at and click , some scrollbars appear (for about an extra 1pixel)

jQuery Foundation member

The problem comes from

    .ui-footer-fixed {
        bottom: -1px;
        padding-bottom: 1px;

-1px needs to be replaced with 0. Any reason for the -1px?
cc: @Wilto @toddparker @scottjehl @johnbender


Yep, that one’s on me. I was trying to work around the 1px jitter on the fixed footers—we’ve seen it in a handful of browsers. This way, it wasn’t as noticeable where the -1px kept one pixel of the background from showing through. Back to the drawing board on this one.

@Wilto Wilto added a commit that closed this issue Mar 6, 2012
@Wilto Wilto Fixes #3694 — `bottom: -1px; padding-bottom: 1px` on fixed footer, pr…
…eviously used to hide 1px “jitter” seen in many browsers during scroll, was triggering scrollbars in some browsers.
@Wilto Wilto closed this in f8a4744 Mar 6, 2012
jQuery Foundation member


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment