mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(content): do not scroll on pan-x (#16721)
This commit is contained in:
10774
core/package-lock.json
generated
10774
core/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -77,13 +77,19 @@
|
||||
}
|
||||
|
||||
.scroll-y {
|
||||
touch-action: pan-y;
|
||||
overflow-y: var(--overflow);
|
||||
}
|
||||
|
||||
.scroll-x {
|
||||
touch-action: pan-x;
|
||||
overflow-x: var(--overflow);
|
||||
}
|
||||
|
||||
.scroll-x.scroll-y {
|
||||
touch-action: auto;
|
||||
}
|
||||
|
||||
.overscroll::before,
|
||||
.overscroll::after {
|
||||
position: absolute;
|
||||
|
@ -52,6 +52,7 @@
|
||||
contain: size layout style;
|
||||
|
||||
cursor: grab;
|
||||
touch-action: pan-y;
|
||||
}
|
||||
|
||||
:host(.range-pressed) .range-slider {
|
||||
|
Reference in New Issue
Block a user