mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
fix(content): add touch-action manipulation for a11y zoom and pan (#23534)
resolves #22805
This commit is contained in:
@ -78,6 +78,8 @@
|
||||
box-sizing: border-box;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.scroll-y,
|
||||
@ -106,21 +108,15 @@
|
||||
}
|
||||
|
||||
.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 {
|
||||
touch-action: auto;
|
||||
}
|
||||
|
||||
.overscroll::before,
|
||||
.overscroll::after {
|
||||
position: absolute;
|
||||
|
Reference in New Issue
Block a user