Leaflet/Leaflet — pull request #1950 by fastrde (2013-08-08 11:43:40+00:00)
Title: Fixed an Issue when shift-clicking

when you **shift click** on the map directly after dragging no click event get fired. (boxZoom: false)

to construct the bug:
1. click on map => clickEvent fired
2. shift click on map => clickEvent fired
3. drag map around
4. shift click on map => **no click Event**
5. click on map => clickEvent fired
6. shift click on map => clickEvent fired

the buggy workflow:
- at 3 L.Draggable this._moved is set to true.
- at 4 L.Draggable line 49 _onDown returns directly because shift is pressed. and this._moved is not set back to false in line 67. So this._moved is still true.
- at 4 L.Map line 679 returns because this.dragging.moved() returns true. And no event get fired.

lg

fastrde