Skip to content

Commit e5a1c2b

Browse files
committed
fix: Memo logic of expandedKeys
fix ant-design/ant-design#22828
1 parent 6c46169 commit e5a1c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ function Table<RecordType extends DefaultRecordType>(props: TableProps<RecordTyp
642642
<MemoTableContent
643643
pingLeft={pingedLeft}
644644
pingRight={pingedRight}
645-
props={{ ...props, stickyOffsets }}
645+
props={{ ...props, stickyOffsets, mergedExpandedKeys }}
646646
>
647647
{title && <Panel className={`${prefixCls}-title`}>{title(mergedData)}</Panel>}
648648
<div className={`${prefixCls}-container`}>{groupTableNode}</div>

0 commit comments

Comments
 (0)