diff --git a/src/controls/OrbitControls.ts b/src/controls/OrbitControls.ts index 0dab03b6..705d9efa 100644 --- a/src/controls/OrbitControls.ts +++ b/src/controls/OrbitControls.ts @@ -414,7 +414,7 @@ class OrbitControls extends EventDispatcher { this.dispose = (): void => { // Enabling touch scroll - if(scope.domElement) { + if (scope.domElement) { scope.domElement.style.touchAction = 'auto' } scope.domElement?.removeEventListener('contextmenu', onContextMenu) @@ -949,8 +949,6 @@ class OrbitControls extends EventDispatcher { return } - event.preventDefault() - // @ts-ignore scope.dispatchEvent(startEvent)