Fixed #3772 - DataTable: the table disappears when using scrollHeight="flex" and virtual scrolling

pull/3815/head
mertsincan 2023-03-27 10:35:52 +01:00
parent 1ef494f131
commit ac0aad62c6
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
v-bind="virtualScrollerOptions" v-bind="virtualScrollerOptions"
:items="processedData" :items="processedData"
:columns="columns" :columns="columns"
:style="{ height: scrollHeight !== 'flex' ? scrollHeight : undefined }" :style="scrollHeight !== 'flex' ? { height: scrollHeight } : undefined"
:scrollHeight="scrollHeight !== 'flex' ? undefined : '100%'" :scrollHeight="scrollHeight !== 'flex' ? undefined : '100%'"
:disabled="virtualScrollerDisabled" :disabled="virtualScrollerDisabled"
loaderDisabled loaderDisabled