In r120, disabling orbit controls on mousedown no longer triggers mousemove events when dragging. To reproduce add the following code to misc_controls_orbit.html. This worked in the last several releases. Thanks.
renderer.domElement.addEventListener('mousemove', ()=>{
console.log('mousemove');
});
renderer.domElement.addEventListener('mousedown', (e)=>{
controls.enabled = false;
});
renderer.domElement.addEventListener('mouseup', ()=>{
controls.enabled = true;
});
OrbitControls was moved to the Pointer Events API with r120. Please try to register your mouse event listeners on the respective counterparts (e.g.pointerdown, pointermove etc.).
Everything works as expected when I changed to the Pointer Events API. Thanks.
Most helpful comment
Everything works as expected when I changed to the Pointer Events API. Thanks.