MapBrowserEvent#preventDefault() behaves the same as with native events

This commit is contained in:
Andreas Hocevar
2021-04-05 10:04:20 +02:00
parent 1cb89ab991
commit 0da0c903a0
5 changed files with 14 additions and 8 deletions

View File

@@ -650,7 +650,7 @@ class Draw extends PointerInteraction {
}
if (!pass && this.stopClick_) {
event.stopPropagation();
event.preventDefault();
}
return pass;
}