Skip to content

Commit fbf3cb9

Browse files
committed
fix: QLayout fixes regarding side openers and page scroll
1 parent 71fd895 commit fbf3cb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/layout/QLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
22
<div class="layout">
33
<div
4-
v-if="!$q.platform.is.ios && $slots.left && !leftState.openedSmall"
4+
v-if="!$q.platform.is.ios && $slots.left && !leftState.openedSmall && !leftOnLayout"
55
class="layout-side-opener fixed-left"
66
v-touch-pan.horizontal="__openLeftByTouch"
77
></div>
88
<div
9-
v-if="!$q.platform.is.ios && $slots.right && !rightState.openedSmall"
9+
v-if="!$q.platform.is.ios && $slots.right && !rightState.openedSmall && !rightOnLayout"
1010
class="layout-side-opener fixed-right"
1111
v-touch-pan.horizontal="__openRightByTouch"
1212
></div>

src/components/layout/side-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ export default {
153153
}
154154

155155
if (evt.isFirst) {
156-
document.body.classList.add('with-layout-side-opened')
157156
if (withBackdrop) {
157+
document.body.classList.add('with-layout-side-opened')
158158
this.backdrop.inTransit = side
159159
}
160160
state.inTransit = true

0 commit comments

Comments
 (0)