We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
passive: false
1 parent 90f9499 commit 0a9f81bCopy full SHA for 0a9f81b
examples/jsm/controls/ArcballControls.js
@@ -457,7 +457,7 @@ class ArcballControls extends Controls {
457
this._devPxRatio = window.devicePixelRatio;
458
459
this.domElement.addEventListener( 'contextmenu', this._onContextMenu );
460
- this.domElement.addEventListener( 'wheel', this._onWheel );
+ this.domElement.addEventListener( 'wheel', this._onWheel, { passive: false } );
461
this.domElement.addEventListener( 'pointerdown', this._onPointerDown );
462
this.domElement.addEventListener( 'pointercancel', this._onPointerCancel );
463
0 commit comments