diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue index 647e4d6fe6..b96b862492 100644 --- a/packages/nc-gui/components/cell/attachment/index.vue +++ b/packages/nc-gui/components/cell/attachment/index.vue @@ -247,7 +247,7 @@ const onExpand = () => { :class="{ 'ml-2': active }" @click=" () => { - if (isGallery || isMobileMode) return + if (isGallery || isMobileMode || (isKanban && !isExpandedForm)) return selectedImage = item } "