@@ -64,12 +64,12 @@ export default defineComponent({
64
64
this . scrollbarRef . current . addEventListener (
65
65
'touchstart' ,
66
66
this . onScrollbarTouchStart ,
67
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
67
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
68
68
) ;
69
69
this . thumbRef . current . addEventListener (
70
70
'touchstart' ,
71
71
this . onMouseDown ,
72
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
72
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
73
73
) ;
74
74
} ,
75
75
@@ -104,7 +104,7 @@ export default defineComponent({
104
104
this . thumbRef . current . addEventListener (
105
105
'touchmove' ,
106
106
this . onMouseMove ,
107
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
107
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
108
108
) ;
109
109
this . thumbRef . current . addEventListener ( 'touchend' , this . onMouseUp ) ;
110
110
} ,
@@ -116,17 +116,17 @@ export default defineComponent({
116
116
this . scrollbarRef . current . removeEventListener (
117
117
'touchstart' ,
118
118
this . onScrollbarTouchStart ,
119
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
119
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
120
120
) ;
121
121
this . thumbRef . current . removeEventListener (
122
122
'touchstart' ,
123
123
this . onMouseDown ,
124
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
124
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
125
125
) ;
126
126
this . thumbRef . current . removeEventListener (
127
127
'touchmove' ,
128
128
this . onMouseMove ,
129
- supportsPassive ? ( { passive : true } as EventListenerOptions ) : false ,
129
+ supportsPassive ? ( { passive : false } as EventListenerOptions ) : false ,
130
130
) ;
131
131
this . thumbRef . current . removeEventListener ( 'touchend' , this . onMouseUp ) ;
132
132
0 commit comments