-
Notifications
You must be signed in to change notification settings - Fork 46
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
Snap.svg and zpd conflict during Snap.svg drag #20
Comments
Thanks @jlgrall |
I do appreciate the code above. Thanks, |
Ok, I have learned a little more. The issue has to do with zooming out. The more you are zoomed out the worse the selected element move behind the mouse as you are moving it and it does not work well at all. so there is someplace that the mouse movement needs to take in to consideration the zoom level or something like that. Thanks, |
Yup @khovorka This should be fixed! |
Huei90, |
"should be" I haven't fixed it yet |
Huei90, Ok, thanks for the clarification. Do you have a time frame as I could use this as soon as possible. Kim H. |
@khovorka Unfortunately, I have no set time on this to fix. But I will fix ASAP. Maybe you can trace code and help on fixing by PR? Thanks 🍻 |
I want only some elements to be draggeable. So I use Snap.svg's element.drag(). But this conflicts with the drag and pan functions from zpd.
Here is a quick workaround which prevent zpd from seeing the mousedown event when the element is managed by Snap.svg dragging code:
Note: eve is Snap.svg's integrated event library.
The text was updated successfully, but these errors were encountered: