File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ TouchInput._setupEventHandlers = function() {
250250 document . addEventListener ( 'mousedown' , this . _onMouseDown . bind ( this ) ) ;
251251 document . addEventListener ( 'mousemove' , this . _onMouseMove . bind ( this ) ) ;
252252 document . addEventListener ( 'mouseup' , this . _onMouseUp . bind ( this ) ) ;
253- document . addEventListener ( 'wheel' , this . _onWheel . bind ( this ) ) ;
253+ document . addEventListener ( 'wheel' , this . _onWheel . bind ( this ) , isSupportPassive ? { passive : false } : false ) ;
254254 document . addEventListener ( 'touchstart' , this . _onTouchStart . bind ( this ) , isSupportPassive ? { passive : false } : false ) ;
255255 document . addEventListener ( 'touchmove' , this . _onTouchMove . bind ( this ) , isSupportPassive ? { passive : false } : false ) ;
256256 document . addEventListener ( 'touchend' , this . _onTouchEnd . bind ( this ) ) ;
You can’t perform that action at this time.
0 commit comments