do not prevent UI scrolling on mobile (#2007)

pull/2024/head
David Luzar 5 years ago committed by GitHub
parent 0eff9d525d
commit c06988a202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,7 +68,7 @@ document.addEventListener(
"touchmove",
(event) => {
// @ts-ignore
if (event.scale !== 1) {
if (typeof event.scale === "number" && event.scale !== 1) {
event.preventDefault();
}
},

Loading…
Cancel
Save