Fixed touch-panning inside a popup, closed #452
This commit is contained in:
parent
de78de0fee
commit
f46c0263c3
@ -106,6 +106,7 @@ Leaflet Changelog
|
||||
|
||||
* Fixed a bug that caused an error when clicking vector layers under iOS. [#204](https://github.com/CloudMade/Leaflet/issues/204)
|
||||
* Fixed crash on Android 3+ when panning or zooming (by [@florian](https://github.com/florianf)). [#137](https://github.com/CloudMade/Leaflet/issues/137)
|
||||
* Fixed a bug that caused the map to pan when touch-panning inside a popup. [#452](https://github.com/CloudMade/Leaflet/issues/452)
|
||||
|
||||
|
||||
## 0.2.1 (2011-06-18)
|
||||
|
2
dist/leaflet-src.js
vendored
2
dist/leaflet-src.js
vendored
@ -4084,7 +4084,7 @@ L.DomEvent = {
|
||||
},
|
||||
|
||||
disableClickPropagation: function (/*HTMLElement*/ el) {
|
||||
L.DomEvent.addListener(el, 'mousedown', L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, L.Draggable.START, L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, 'click', L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, 'dblclick', L.DomEvent.stopPropagation);
|
||||
},
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -112,7 +112,7 @@ L.DomEvent = {
|
||||
},
|
||||
|
||||
disableClickPropagation: function (/*HTMLElement*/ el) {
|
||||
L.DomEvent.addListener(el, 'mousedown', L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, L.Draggable.START, L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, 'click', L.DomEvent.stopPropagation);
|
||||
L.DomEvent.addListener(el, 'dblclick', L.DomEvent.stopPropagation);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user