Problem with Right Click Mouse with OrbitControl and DragControls

when I right click on an Object which is draggable on the scene with DragControls.deactivate (), I manage to use orbitcontrols to move the whole scene. By cons when releasing the right click on this draggable object it starts to move with the mouse (without any click).
I specify that I have put in the function :
Dragcontrols.addEventListener (‘drag’ …

orbitcontrols.enabled = false;

);
So as not to have any conflict.

How is it that the release of the right click after an orbitcontrol on a draggable object, this one starts to move and use the dragControls function.

finaly find solution :

orbitcontrols.addEventListener(‘start’, function (event) {
Dragcontrols.deactivate();
});

orbitcontrols.addEventListener(‘end’, function (event) {
Dragcontrols.activate();
});