Do not preventDefault on pointerdown

This commit is contained in:
Andreas Hocevar
2019-12-10 12:25:23 +01:00
parent 38b278339d
commit 8911b96d3c
2 changed files with 2 additions and 5 deletions

View File

@@ -146,9 +146,6 @@ class PointerInteraction extends Interaction {
} else {
if (mapBrowserEvent.type == MapBrowserEventType.POINTERDOWN) {
const handled = this.handleDownEvent(mapBrowserEvent);
if (handled) {
mapBrowserEvent.preventDefault();
}
this.handlingDownUpSequence = handled;
stopEvent = this.stopDown(handled);
} else if (mapBrowserEvent.type == MapBrowserEventType.POINTERMOVE) {