-
Notifications
You must be signed in to change notification settings - Fork 9
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
dragfree dragfreeon events don't work when snapToGridDuringDrag is set to true #41
Comments
Also having this problem. |
+1 |
@hasanbalci can you have a look at my code? My "solution" is: I added a didDrag to I dont know if there is a better way for this. I dont understand, why the default event from cytoscape is not triggerd correctly. Also dont know the differenct of `module.exports = function (cy, snap) {
}; |
When setting the option snapToGridDuringDrag to true, I've noticed that dragfree and dragfreeon events are not being fired.
Example available at: https://codesandbox.io/embed/cytoscape-dagre-demo-7ge5o
Setting snapToGridDuringDrag to false will allow the event to get triggered.
The text was updated successfully, but these errors were encountered: