Skip to content

Commit c8e676d

Browse files
author
scottjehl
committed
applied conditional overflow scrolling to page div
1 parent dae560d commit c8e676d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

themes/default/jquery.mobile.core.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222
.landscape,
2323
.landscape .ui-page { min-height: 300px; }
2424

25+
/* native overflow scrolling */
26+
.ui-mobile.ui-mobile-overflow-scrolling .ui-page {
27+
overflow: auto;
28+
height: 100%;
29+
-webkit-overflow-scrolling: touch;
30+
-moz-overflow-scrolling: touch;
31+
-o-overflow-scrolling: touch;
32+
-ms-overflow-scrolling: touch;
33+
overflow-scrolling: touch;
34+
}
35+
2536
/* loading screen */
2637
.ui-loading .ui-mobile-viewport { overflow: hidden !important; }
2738
.ui-loading .ui-loader { display: block; }

0 commit comments

Comments
 (0)