The diagram is freezing when I move it with the right button…
What is the reason?
With the default behavior, I would not expect any node to be moved when moving the mouse with the right mouse button held down, nor would I expect the diagram to be panned when dragging the mouse with the right mouse button in the background of the diagram.
Do you get the same behavior when doing the same gestures in one of the samples, such as https://gojs.net/latest/samples/minimal.html ? If not, what listeners and event handlers have you defined? What changes have you made to any tools?