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

This commit is contained in:
mertsincan 2023-03-27 10:35:52 +01:00
parent 1ef494f131
commit ac0aad62c6

View file

@ -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