mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Momentum Scrolling
This commit is contained in:
4
dist/framework.css
vendored
4
dist/framework.css
vendored
@ -228,7 +228,9 @@ a.list-item {
|
|||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
overflow: auto; }
|
overflow-y: scroll;
|
||||||
|
/* has to be scroll, not auto */
|
||||||
|
-webkit-overflow-scrolling: touch; }
|
||||||
|
|
||||||
.ion-panel-active-left {
|
.ion-panel-active-left {
|
||||||
left: 0; }
|
left: 0; }
|
||||||
|
|||||||
@ -7,7 +7,8 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
overflow: auto;
|
overflow-y: scroll; /* has to be scroll, not auto */
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ion-panel-active-left {
|
.ion-panel-active-left {
|
||||||
|
|||||||
Reference in New Issue
Block a user