@@ -108,56 +108,56 @@ useEventListener(window, 'mouseleave', () => isResizing.value = false)
108
108
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-horizontal"
109
109
:style =" { top: 0 }"
110
110
@mousedown.prevent =" isResizing = { top: true }"
111
- @touchstart =" () => isResizing = { top: true }"
111
+ @touchstart.passive =" () => isResizing = { top: true }"
112
112
/>
113
113
<div
114
114
v-show =" state.position !== 'bottom'"
115
115
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-horizontal"
116
116
:style =" { bottom: 0 }"
117
117
@mousedown.prevent =" () => isResizing = { bottom: true }"
118
- @touchstart =" () => isResizing = { bottom: true }"
118
+ @touchstart.passive =" () => isResizing = { bottom: true }"
119
119
/>
120
120
<div
121
121
v-show =" state.position !== 'left'"
122
122
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-vertical"
123
123
:style =" { left: 0 }"
124
124
@mousedown.prevent =" () => isResizing = { left: true }"
125
- @touchstart =" () => isResizing = { left: true }"
125
+ @touchstart.passive =" () => isResizing = { left: true }"
126
126
/>
127
127
<div
128
128
v-show =" state.position !== 'right'"
129
129
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-vertical"
130
130
:style =" { right: 0 }"
131
131
@mousedown.prevent =" () => isResizing = { right: true }"
132
- @touchstart =" () => isResizing = { right: true }"
132
+ @touchstart.passive =" () => isResizing = { right: true }"
133
133
/>
134
134
<div
135
135
v-show =" state.position !== 'top' && state.position !== 'left'"
136
136
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-corner"
137
137
:style =" { top: 0, left: 0, cursor: 'nwse-resize' }"
138
138
@mousedown.prevent =" () => isResizing = { top: true, left: true }"
139
- @touchstart =" () => isResizing = { top: true, left: true }"
139
+ @touchstart.passive =" () => isResizing = { top: true, left: true }"
140
140
/>
141
141
<div
142
142
v-show =" state.position !== 'top' && state.position !== 'right'"
143
143
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-corner"
144
144
:style =" { top: 0, right: 0, cursor: 'nesw-resize' }"
145
145
@mousedown.prevent =" () => isResizing = { top: true, right: true }"
146
- @touchstart =" () => isResizing = { top: true, right: true }"
146
+ @touchstart.passive =" () => isResizing = { top: true, right: true }"
147
147
/>
148
148
<div
149
149
v-show =" state.position !== 'bottom' && state.position !== 'left'"
150
150
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-corner"
151
151
:style =" { bottom: 0, left: 0, cursor: 'nesw-resize' }"
152
152
@mousedown.prevent =" () => isResizing = { bottom: true, left: true }"
153
- @touchstart =" () => isResizing = { bottom: true, left: true }"
153
+ @touchstart.passive =" () => isResizing = { bottom: true, left: true }"
154
154
/>
155
155
<div
156
156
v-show =" state.position !== 'bottom' && state.position !== 'right'"
157
157
class =" nuxt-devtools-resize-handle nuxt-devtools-resize-handle-corner"
158
158
:style =" { bottom: 0, right: 0, cursor: 'nwse-resize' }"
159
159
@mousedown.prevent =" () => isResizing = { bottom: true, right: true }"
160
- @touchstart =" () => isResizing = { bottom: true, right: true }"
160
+ @touchstart.passive =" () => isResizing = { bottom: true, right: true }"
161
161
/>
162
162
</div >
163
163
</template >
0 commit comments