You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the scroll={{y:300}} is set to the table, and somehow the data is not enough to fullfill it, the height will keep being 300px, with the remaining space in blank empty.
The style height:300 is added to table body when the scroll set, and it's fixed. How about we make it to max-height:300 so it's flexible to support the situation when the data is less than the value?
I made a codePen demo here, you may check the link if it helps, thanks!
The text was updated successfully, but these errors were encountered:
When the
scroll={{y:300}}
is set to the table, and somehow the data is not enough to fullfill it, the height will keep being 300px, with the remaining space in blank empty.The style
height:300
is added to table body when the scroll set, and it's fixed. How about we make it tomax-height:300
so it's flexible to support the situation when the data is less than the value?I made a codePen demo here, you may check the link if it helps, thanks!
The text was updated successfully, but these errors were encountered: