Skip to content


fix css in touch-overflow example #3165

merged 1 commit into from

2 participants



This fixes a bug with lists not beeing fit into the viewport width anymore when using touchOverflowEnabled on iOS5.

With 1.0 it looks like this: (iPhone 4s)

With this pull it looks like this: (iPhone 4s)

Possibly this fixes #2744, too.



Looks good, but I'm curious why setting left and right to 0 works. Do you know?

@toddparker toddparker merged commit f8dcaa2 into jquery:master

Gotcha. We appreciate the help, keep 'em coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 25, 2011
  1. @MaZderMind
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  css/structure/
2  css/structure/
@@ -29,6 +29,8 @@ div.ui-mobile-viewport { overflow-x: hidden; }
.ui-mobile-touch-overflow.ui-native-fixed .ui-content {
overflow: auto;
height: 100%;
+ left: 0;
+ right: 0;
-webkit-overflow-scrolling: touch;
-moz-overflow-scrolling: touch;
-o-overflow-scrolling: touch;
Something went wrong with that request. Please try again.