Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): expandedFormVisibelItems count calculation issue

Ramesh Mane2f9f61baeb13
diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue
index 1117ea7a08..74e9addbbc 100644
--- a/packages/nc-gui/components/cell/attachment/index.vue
+++ b/packages/nc-gui/components/cell/attachment/index.vue
@@ -72,7 +72,7 @@ const { dragging } = useSortable(sortableRef, visibleItems, updateModelValue, is
const showAllAttachments = ref(false)
-const { width: sortableRefWidth } = useElementBounding(sortableRef)
+const { width: sortableRefWidth } = useElementSize(sortableRef)
const maxVisibleCards = computed(() => {
// min of total visible items and max cards per row * 2