mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(content): set overscroll-behavior based on the scroll direction (#20011)
resolves #20010
This commit is contained in:
@ -84,17 +84,18 @@
|
||||
.scroll-x {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
will-change: scroll-position;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.scroll-y {
|
||||
touch-action: pan-y;
|
||||
overflow-y: var(--overflow);
|
||||
overscroll-behavior-y: contain;
|
||||
}
|
||||
|
||||
.scroll-x {
|
||||
touch-action: pan-x;
|
||||
overflow-x: var(--overflow);
|
||||
overscroll-behavior-x: contain;
|
||||
}
|
||||
|
||||
.scroll-x.scroll-y {
|
||||
|
Reference in New Issue
Block a user