Resolve some test failures

This commit is contained in:
Greg Gianforcaro
2020-12-09 01:17:19 -05:00
parent 99f23caf03
commit 92f93e8e94
3 changed files with 3 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ class PointerInteraction extends Interaction {
if (mapBrowserEvent.type == MapBrowserEventType.POINTERDRAG) {
this.handleDragEvent(mapBrowserEvent);
// prevent page scrolling during dragging
mapBrowserEvent.preventDefault();
mapBrowserEvent.originalEvent.preventDefault();
} else if (mapBrowserEvent.type == MapBrowserEventType.POINTERUP) {
const handledUp = this.handleUpEvent(mapBrowserEvent);
this.handlingDownUpSequence =