Skip to content

v1.0.7-alpha: Stop leaflet.js click events buried by fastclick

Latest
Compare
Choose a tag to compare
@jderose9 jderose9 released this 03 Dec 17:57
On iOS, some of the simulated click events fired by leaflet.js are getting cancelled by fastclick.js onMouse(). The result is that a double-tap is required to click an element. Clearing the target element on touchend appears to resolve this.

http://stackoverflow.com/questions/28197921/fastclick-js-causes-leaflet-js-clicks-to-be-ignored