Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,6 @@ function Table<RecordType extends DefaultRecordType>(
</div>
);
}

let fullTable = (
<div
className={classNames(prefixCls, className, {
Expand All @@ -762,7 +761,12 @@ function Table<RecordType extends DefaultRecordType>(
{...dataProps}
>
{title && <Panel className={`${prefixCls}-title`}>{title(mergedData)}</Panel>}
<div ref={scrollBodyContainerRef} className={`${prefixCls}-container`}>
<div
ref={scrollBodyContainerRef}
className={
`${prefixCls}-container` + (showHeader === false ? `` : ` ${prefixCls}-container-header`)
}
>
{groupTableNode}
</div>
{footer && <Panel className={`${prefixCls}-footer`}>{footer(mergedData)}</Panel>}
Expand Down