Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

fmassot opened this Issue Jun 14, 2012 · 1 comment


None yet
2 participants

fmassot commented Jun 14, 2012

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).


tmcw commented Jun 14, 2012

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