diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index 6034245139..dd6df292fe 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -221,7 +221,9 @@ watch(isOpen, (n, _o) => { if (!n) searchVal.value = '' if (editAllowed.value) { - if (n) { + if (!n) { + aselect.value?.$el?.querySelector('input')?.blur() + } else { aselect.value?.$el?.querySelector('input')?.focus() } } diff --git a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue index ad0789a010..768aaeef01 100644 --- a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue @@ -632,9 +632,9 @@ const onTableIdCopy = async () => { @click="onProjectClick(base, true, true)" > diff --git a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue index fe0101ed6a..d4717025c6 100644 --- a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue @@ -395,9 +395,9 @@ const deleteTable = () => { @click.stop="onExpand" > diff --git a/packages/nc-gui/components/project/View.vue b/packages/nc-gui/components/project/View.vue index ef8715fe64..10b75985e7 100644 --- a/packages/nc-gui/components/project/View.vue +++ b/packages/nc-gui/components/project/View.vue @@ -22,7 +22,7 @@ const route = router.currentRoute const { $e, $api } = useNuxtApp() -const currentBase = computed(async () => { +const currentBase = computedAsync(async () => { let base if (props.baseId) { base = bases.value.get(props.baseId) @@ -161,7 +161,7 @@ watch( - +