-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
panzoom 4.2.0. breaks the drag functionality of jsplumb #496
Comments
And if you might wonder what jsplumb is, you can have a look here: https://github.com/jsplumb/jsplumb |
Thanks for opening an issue. I can tell you one difference between 4.1.0 and 4.2.0 that may be the culprit. Looks like you were using the Alternatively, I've just added an option that will allow you to restore the old behavior. Pass |
Yes, I definetely use the "disablePan" option in my makeTableZoomable method. Guess that will be a 4.2.1 release? As soon as I can install it, I'll give the new option a try! Thanks for looking into this. |
🎉 This issue has been resolved in version 4.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Released in 4.3.0. |
Hm... thinking about it: I heavily rely on an event that fires if the zoom animation is done. Only then I can reposition jsplumb endpoints. I hope that these still bubble up with the new implementation... :-) |
I tried the new option. Success! After upgrading to 4.3.0 and adding the option the issue is fixed! :-D |
- This method and option allows the user to control when the default event handlers are bound, if at all. Close gh-496
Describe the bug
Hello,
yesterday I updated from version 4.1.0 to 4.2.0. After that my (jsplumb) draggable elements could not be dragged anymore.
Your environment
-Chrome latest
Expected behavior
Actual behavior
Steps to reproduce
Easiest way may be do download my repo from here and running it from the dist folder. (Description available in the README...
You'll need to "Create Table" to get the draggable element on the canvas.
Then update panzoom with npm to 4.2.0. after running "npm run webpack" there's a new distribution in the dist folder. If you start it up, dragging does not work anymore.
The text was updated successfully, but these errors were encountered: