mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +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 {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
will-change: scroll-position;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.scroll-y {
|
||||
|
@ -45,7 +45,7 @@ body {
|
||||
|
||||
word-wrap: break-word;
|
||||
|
||||
overscroll-behavior-y: contain;
|
||||
overscroll-behavior-y: none;
|
||||
|
||||
text-size-adjust: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user