From ac0aad62c6da248f25eca13b2cf4aa3283f83cec Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 27 Mar 2023 10:35:52 +0100 Subject: [PATCH] Fixed #3772 - DataTable: the table disappears when using scrollHeight="flex" and virtual scrolling --- components/lib/datatable/DataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index 9d2474c99..46a30facc 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -34,7 +34,7 @@ v-bind="virtualScrollerOptions" :items="processedData" :columns="columns" - :style="{ height: scrollHeight !== 'flex' ? scrollHeight : undefined }" + :style="scrollHeight !== 'flex' ? { height: scrollHeight } : undefined" :scrollHeight="scrollHeight !== 'flex' ? undefined : '100%'" :disabled="virtualScrollerDisabled" loaderDisabled