Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dragging a map can keep _downLock to true in interaction #210

Open
fmassot opened this Issue · 1 comment

2 participants

@fmassot

Hi,
When you drag the map and release the mouse click outside the map div, _downLock variable remains at true in interaction object. (Tested on google maps/leaflet/modest maps on http://mapbox.com/wax/)

The ideal would be to use an event like 'mouseleave' to trigger the off function of interaction. But I didn't see this event in bean.js (or I missed it).

François

@tmcw
Owner

mouseenter/mouseleave are proprietary IE events (with partial reimplementations in jQuery). Might be able to work around this situation by binding clicks to the document rather than the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.