Replies: 1 comment
-
Foun a solution, but not sure how much applicable it is, since the dnd cancelation is privately defined in the project I am working ATM. But this might help someone to nudge in the correct direction. I found that most examples handled this problem through event parameters, but in my case, event parameters were mostly not defined and everything was focused through data. $(document).on("dnd_move.vakata.jstree", function(e, data) {
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement, that if the cursor leaves the parent element of jstree while dragging, the dragging automatically stops. I've bumped into the issue, that the event, being passed into the function has no mouse pointer tracking aka clientX, pageX, and offsetX are all undefined, same with Y. Is there any workaround?
ATM trying the $(document).bind("dnd_move.vakata", function(event, data) {} approach.
Beta Was this translation helpful? Give feedback.
All reactions