Skip to content

Commit 49d69d0

Browse files
committed
v0fix(table): fixed dynamic virtualized tables not correct height
1 parent 9e67868 commit 49d69d0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/runtime/components/WTable/WTable.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
transform: mergedVirtualizerOpts.method === 'fixed'
186186
? `translateY(${virtual.start - index * virtual.size!}px)`
187187
: `translateY(${virtual.start}px)`,
188-
height: `${virtual.size}px`
188+
height: mergedVirtualizerOpts.method === 'fixed' ? `${virtual.size}px` : undefined
189189
}
190190
: {})
191191
}"
@@ -469,3 +469,4 @@ defineExpose({
469469
})
470470
</script>
471471

472+

0 commit comments

Comments
 (0)