Skip to content

Commit 530be08

Browse files
committed
fix: QLayoutDrawer -- touchpan bindings
1 parent 2504d80 commit 530be08

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/layout/QLayoutDrawer.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export default {
226226
staticClass: `q-layout-drawer-opener fixed-${this.side}`,
227227
directives: [{
228228
name: 'touch-pan',
229-
modifier: { horizontal: true },
229+
modifiers: { horizontal: true },
230230
value: this.__openByTouch
231231
}]
232232
}))
@@ -237,7 +237,7 @@ export default {
237237
on: { click: this.hide },
238238
directives: [{
239239
name: 'touch-pan',
240-
modifier: { horizontal: true },
240+
modifiers: { horizontal: true },
241241
value: this.__closeByTouch
242242
}]
243243
}))
@@ -250,7 +250,7 @@ export default {
250250
style: this.computedStyle,
251251
directives: this.mobileView ? [{
252252
name: 'touch-pan',
253-
modifier: { horizontal: true },
253+
modifiers: { horizontal: true },
254254
value: this.__closeByTouch
255255
}] : null
256256
}, [
@@ -308,6 +308,7 @@ export default {
308308
if (!this.mobileOpened) {
309309
return
310310
}
311+
311312
const
312313
width = this.size,
313314
position = evt.direction === this.side

0 commit comments

Comments
 (0)