diff --git a/src/ui/handler/touch_pan.js b/src/ui/handler/touch_pan.js index a75a7266d69..62a6d5a80d2 100644 --- a/src/ui/handler/touch_pan.js +++ b/src/ui/handler/touch_pan.js @@ -54,7 +54,9 @@ export default class TouchPanHandler { } } - e.preventDefault(); + if (e.cancelable) { + e.preventDefault(); + } return this._calculateTransform(e, points, mapTouches); }