Browse Source

fix(gui-v2): SmartsheetColumnEditOrAdd overlay issue

pull/3030/head
Wing-Kam Wong 2 years ago
parent
commit
32fcee81bb
  1. 11
      packages/nc-gui-v2/components/smartsheet/Form.vue

11
packages/nc-gui-v2/components/smartsheet/Form.vue

@ -401,6 +401,7 @@ onMounted(async () => {
<!-- Drag and drop fields here to hide --> <!-- Drag and drop fields here to hide -->
{{ $t('msg.info.dragDropHide') }} {{ $t('msg.info.dragDropHide') }}
</div> </div>
<a-dropdown v-model:visible="showColumnDropdown" :trigger="['click']">
<a-button type="link" class="w-full caption mt-2" size="large" @click="showColumnDropdown = true"> <a-button type="link" class="w-full caption mt-2" size="large" @click="showColumnDropdown = true">
<div class="flex items-center prose-sm justify-center text-gray-400"> <div class="flex items-center prose-sm justify-center text-gray-400">
<MdiPlusIcon /> <MdiPlusIcon />
@ -408,12 +409,10 @@ onMounted(async () => {
{{ $t('activity.addField') }} {{ $t('activity.addField') }}
</div> </div>
</a-button> </a-button>
<SmartsheetColumnEditOrAdd <template #overlay>
v-show="showColumnDropdown" <SmartsheetColumnEditOrAdd ref="editOrAddRef" @submit="submitCallback" @cancel="showColumnDropdown = false" />
ref="editOrAddRef" </template>
@submit="submitCallback" </a-dropdown>
@cancel="showColumnDropdown = false"
/>
</template> </template>
</draggable> </draggable>
</a-col> </a-col>

Loading…
Cancel
Save