Stop touchStart propagation in Draggable. Without this dragging marker will fire a contextmenu event on touch as the map gets a touch start/end event but none of the moves.
This commit is contained in:
parent
1aff46cb27
commit
514908f812
@ -40,6 +40,7 @@ L.Draggable = L.Class.extend({
|
||||
((e.which !== 1) && (e.button !== 1) && !e.touches)) { return; }
|
||||
|
||||
L.DomEvent.preventDefault(e);
|
||||
L.DomEvent.stopPropagation(e);
|
||||
|
||||
if (L.Draggable._disabled) { return; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user