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:
Alex Yatskov 2019-08-17 09:04:23 -07:00 committed by GitHub
commit 1d25c8a744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }