Skip to content

Commit 5aed7be

Browse files
committed
fix(QLayout): Improve behavior for containerized mode on iOS quasarframework#4127 quasarframework#4391
1 parent d9d3e37 commit 5aed7be

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

ui/dev/components/global/dialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
</q-dialog>
388388

389389
<q-dialog v-model="layout">
390-
<q-layout view="Lhh lpR fff" container>
390+
<q-layout view="hhh lpr fff" container>
391391
<q-header reveal class="bg-black">
392392
<q-toolbar>
393393
<q-btn flat @click="drawer = !drawer" round dense icon="menu" />

ui/src/components/layout/QLayout.sass

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
.q-layout
22
width: 100%
33

4+
&--containerized
5+
// https://github.com/quasarframework/quasar/issues/4127
6+
// Fixes scroll issues with containerized Layout inside Dialog on iOS
7+
position: unset !important
8+
49
.q-layout-container
510
position: relative
611
width: 100%

ui/src/components/layout/QLayout.styl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
.q-layout
22
width 100%
33

4+
&--containerized
5+
// https://github.com/quasarframework/quasar/issues/4127
6+
// Fixes scroll issues with containerized Layout inside Dialog on iOS
7+
position unset !important
8+
overflow hidden !important
9+
410
.q-layout-container
511
position relative
612
width 100%

0 commit comments

Comments
 (0)