do not prevent UI scrolling on mobile (#2007)
This commit is contained in:
parent
0eff9d525d
commit
c06988a202
@ -68,7 +68,7 @@ document.addEventListener(
|
|||||||
"touchmove",
|
"touchmove",
|
||||||
(event) => {
|
(event) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if (event.scale !== 1) {
|
if (typeof event.scale === "number" && event.scale !== 1) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user