Reproduction link
[ https://codepen.io/pen?&editors=001 ]( https://codepen.io/Kevin-Wang-the-selector/pen/NWmLLeW?editors=001 )
Steps to reproduce
Please see the link and scroll to the last row
What is expected?
The scroll Y should be flush with the last row leaving no additional padding. This is caused by incorrect calculation of Table body element
What is actually happening?
Extra padding is visible on the last table row
| Environment | Info |
| ------------ | ------------ |
| antd | 5.16.2 |
| React | 18.2.0 |
| System | Web |
| Browser | Chrome |
1条答案
按热度按时间snz8szmq1#
it looks like its for the scroll bar for scrollX. The padding should be remove if scrollX is not active