MapBrowserEvent#preventDefault() behaves the same as with native events
This commit is contained in:
@@ -204,7 +204,7 @@ class MapBrowserEventHandler extends Target {
|
||||
// event.stopPropagation() or event.preventDefault().
|
||||
if (
|
||||
this.emulateClicks_ &&
|
||||
!newEvent.propagationStopped &&
|
||||
!newEvent.defaultPrevented &&
|
||||
!this.dragging_ &&
|
||||
this.isMouseActionButton_(pointerEvent)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user