in above image I dragged “Finance” from one tree and dropped on “Project Service”, it is dropped properly but dragged icon is still shown with mouse pointer and it will be shown until we click outside diagram.
please help me, thanks in advance.
I changed GoJs version back to 1.6.18, in that case it is not throwing any error at all. if there is an error in code then it should throw error in both version.
In my case, there are two diagrams and using drag-drop I am handling drag and drop.
One more thing, I do not see any stack trace while using go-debug.js.
As documented, GraphObject | GoJS API , a transaction is already ongoing by the DraggingTool, so you do not need to start and commit one.
What are you trying to achieve by setting that data.dragover property? What else does that function do, and what does your mouseDragLeave event handler do?
It occurs to me that there could be a simple cause for such inexplicable behavior – you have more than one GoJS library loaded at the same time, and some of the code from one library is operating on objects created or modified by the other library.
Please check all of the library file loads and make sure that you are only loading the desired go.js or go-debug.js only once. And that you don’t load both of those files either.