material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Empty space when paging is set to true

Open bilix opened this issue 6 years ago • 2 comments

Describe the bug When paging is set to true, if there are not enough rows to fill the page, there's a huge empty space between the last row and the paging controls.

Expected behavior table height should adapt to its content.

Screenshots image

bilix avatar Feb 20 '20 09:02 bilix

have you used emptyRowsWhenPaging: false in options?

jonasanx avatar Feb 20 '20 19:02 jonasanx

That made it! 🙈

Thank you very much! Still, that should probably be de default behaviour.

bilix avatar Feb 21 '20 08:02 bilix