mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(content): overflow-behavior: contain
https://developers.google.com/web/updates/2017/11/overscroll-behavior
This commit is contained in:
@ -58,6 +58,7 @@
|
|||||||
.scroll-x {
|
.scroll-x {
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
will-change: scroll-position;
|
will-change: scroll-position;
|
||||||
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll-y {
|
.scroll-y {
|
||||||
|
@ -45,7 +45,7 @@ body {
|
|||||||
|
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
overscroll-behavior-y: contain;
|
overscroll-behavior-y: none;
|
||||||
|
|
||||||
text-size-adjust: none;
|
text-size-adjust: none;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user