onExpandedRowsChange return not correctly when rowKey is set #21504
Labels
3.x
3.x stable issue or bug fix, PR should be cherry-pick to master
🐛 Bug
Ant Design Team had proved that this is a bug.
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Inactive
Reproduction link
Table
Steps to reproduce
1, set
rowKey
2, bind
expandedRowKeys
to state3, get
expandedRowKeys
fromonExpandedRowsChange
4, load
dataSource
and set newexpandedRowKeys
stateWhat is expected?
onExpandedRowsChange
not trigger / return freshexpandedRows
What is actually happening?
onExpandedRowsChange
return[]
The text was updated successfully, but these errors were encountered: