This problem is related to a bug in the rc-table library that the ant design uses it.
in 7.50.1 version Problem solved.
in package.json of your project add this property and run npm install again:
"overrides": { "antd": { "rc-table": "7.50.1" } }