Skip to content
This repository

document size with fixed toolbars #3694

DGuidi opened this Issue March 01, 2012 · 9 comments

5 participants

Diego Guidi Mat Marquis Henkeh Anne-Gaelle Colom Scott Jehl
Diego Guidi

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..

Diego Guidi

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

Anne-Gaelle Colom

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


Diego Guidi

thanks again

Anne-Gaelle Colom

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

Anne-Gaelle Colom

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

Mat Marquis
Wilto commented March 06, 2012

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.

Mat Marquis Wilto closed this issue from a commit March 06, 2012
Mat Marquis 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.
Mat Marquis Wilto closed this in f8a4744 March 06, 2012
Scott Jehl
Anne-Gaelle Colom


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.