Merge pull request #175 from toasted-nutbread/touch-move-warning-fix
Don't process touchmove events if they can't be canceled
This commit is contained in:
commit
1d25c8a744
@ -192,7 +192,7 @@ class Frontend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onTouchMove(e) {
|
onTouchMove(e) {
|
||||||
if (!this.scrollPrevent || this.primaryTouchIdentifier === null) {
|
if (!this.scrollPrevent || !e.cancelable || this.primaryTouchIdentifier === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user