Always show vertical scroll bar on .ui-mobile-viewport container #3800

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@Grandrath

This patch prevents horizontal "jumps" in desktop browsers when a transition happens between a page that is higher than the viewport (i.e. has a scoll bar) and one that is not. If the scroll bar is not enforced it appears only after the transition finishes which causes a reflow and content "jumping" to the left.

@Grandrath Grandrath Always show vertical scroll bar on .ui-mobile-viewport container
This patch prevents horizontal "jumps" in desktop browsers when a transition happens between a page that is higher than the viewport (i.e. has a scoll bar) and one that is not. If the scroll bar is not enforced it appears only after the transition finishes which causes a reflow and content "jumping" to the left.
b54c0bc
@jaspermdegroot

There is already another pull request for this: #2418

@Grandrath

Thanks for the pointer. It would be great if one of the requests got merged though.

@johnbender
Contributor

closing in favor of #2418

@Grandrath

In the meantime I think you can handle this on a per project basis eh?

@johnbender johnbender closed this May 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment