-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
click event fired after dragging #2865
Comments
FYI, this happens both in Firefox 31.0 and IE10... |
I think your issue and mine (#2857) are very much alike. The roots of these problems may be are the same. :) |
@AndreyGeonya could have been caused by your recent fix, can you take a look? |
@mourner Yes, I'll see it one of these days. |
Yes, this bug is related with my #2619 bugfix. I improved checking in Map.js/_fireMouseEvent(), see pull-request above. |
#2865, fixed bug with geometry/staticMarker click event after map drag
@mtennekes, @mourner merged my bugfix to master. Can you check it on last master and close this issue if bug doesn't reproduces? |
Yes, it's correct now. Thanks! |
When I run the "Interactive Choropleth Map" tutorial with the development (Leaflet 0.8-dev, from the website, not sure if it is also the latest github version), a click event is fired after a mouse drag. In other words, if I drag the map at a state, say Utah, then the map moves, but when I release the mouse button, the map is zoomed at Utah (the same that happens after a mouse click).
The text was updated successfully, but these errors were encountered: