Commit c46d0f43 authored by christianrhansen's avatar christianrhansen

prevent vertical scroll when cell is outside the grid

parent 43c68c43
Pipeline #16988 passed with stage
in 6 minutes and 43 seconds
<template lang="pug">
div.cell-grid-container(
:class="{'overflow-hidden': mobileTempCell.show && cachedNewCell && !mobileTempCell.button}")
:class="{'overflow-hidden': mobileTempCell.show && cachedNewCell && !mobileTempCell.button}",
style="overflow-y: hidden;")
q-modal(v-model="modal", minimized, content-css="background-color: #eee; border-radius: .75rem;")
grid-editor-editing-cells-mobile
//
......@@ -139,6 +140,7 @@
//----- resize handler (top left)
.resize-handler-mobile.top-left.text-dark.fixed.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid",
v-touch-pan="handleTopLeft", round, flat,
:style="{left: resizeHandler.topLeft.x - 20 + 'px', top: resizeHandler.topLeft.y - 20 + 'px'}")
// q-icon.self-center.rotate-180(name="signal_cellular_4_bar", size="12px", style="margin-top: 2px;")
......@@ -146,6 +148,7 @@
//----- resize handler (bottom right)
.resize-handler-mobile.bottom-right.text-dark.fixed.justify-center.row.bg-white.shadow-6(
v-if="mobileTempCell.onGrid",
v-touch-pan="testButton", round, flat,
:style="{left: resizeHandler.bottomRight.x - 20 + 'px', top: resizeHandler.bottomRight.y - 20 + 'px'}")
q-icon.self-center(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment