mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #1035 from oori/overflow-scroll-fix
overflow-scroll fix
This commit is contained in:
@@ -265,21 +265,11 @@ ion-infinite-scroll.active .scroll-infinite {
|
||||
.scroll {
|
||||
position: static;
|
||||
height: 100%;
|
||||
-webkit-transform: translate3d(0, 0, 0); // fix iOS bug where relative children of scroller disapear while scrolling. see: http://stackoverflow.com/questions/9807620/ipad-safari-scrolling-causes-html-elements-to-disappear-and-reappear-with-a-dela
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.overflow-scroll {
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
.scroll {
|
||||
position: static;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
|
||||
// Note: For these to work, content must come after both bars in the markup
|
||||
/* If you change these, change platform.scss as well */
|
||||
|
||||
Reference in New Issue
Block a user