Conditional default prevention instead of touch-action: none
This commit is contained in:
@@ -115,6 +115,7 @@ class DragPan extends PointerInteraction {
|
||||
}
|
||||
this.lastCentroid = centroid;
|
||||
this.lastPointersCount_ = targetPointers.length;
|
||||
mapBrowserEvent.originalEvent.preventDefault();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user