@@ -64,12 +64,12 @@ export default defineComponent({
6464 this . scrollbarRef . current . addEventListener (
6565 'touchstart' ,
6666 this . onScrollbarTouchStart ,
67- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
67+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
6868 ) ;
6969 this . thumbRef . current . addEventListener (
7070 'touchstart' ,
7171 this . onMouseDown ,
72- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
72+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
7373 ) ;
7474 } ,
7575
@@ -104,7 +104,7 @@ export default defineComponent({
104104 this . thumbRef . current . addEventListener (
105105 'touchmove' ,
106106 this . onMouseMove ,
107- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
107+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
108108 ) ;
109109 this . thumbRef . current . addEventListener ( 'touchend' , this . onMouseUp ) ;
110110 } ,
@@ -116,17 +116,17 @@ export default defineComponent({
116116 this . scrollbarRef . current . removeEventListener (
117117 'touchstart' ,
118118 this . onScrollbarTouchStart ,
119- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
119+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
120120 ) ;
121121 this . thumbRef . current . removeEventListener (
122122 'touchstart' ,
123123 this . onMouseDown ,
124- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
124+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
125125 ) ;
126126 this . thumbRef . current . removeEventListener (
127127 'touchmove' ,
128128 this . onMouseMove ,
129- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
129+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
130130 ) ;
131131 this . thumbRef . current . removeEventListener ( 'touchend' , this . onMouseUp ) ;
132132
0 commit comments