mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
do not prevent UI scrolling on mobile (#2007)
This commit is contained in:
parent
0eff9d525d
commit
c06988a202
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue