[Feature discussion] Table and "autoheight" respecting parent's container height
See original GitHub issueWhat problem does this feature solve?
It would be nice to have ability to set default pageSize equal to number of rows that will fit to parent container.
What does the proposed API look like?
<Table pagination={{pageSize: true}}/>
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
height - CSS: Cascading Style Sheets - MDN Web Docs
The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing ......
Read more >Scroll into tbody and auto height — DataTables forums
Hi, I can not configure a correct datatable layout. What i would do is: - Have footer of datatable on the bottom with...
Read more >Auto fit height of parent container (display table) - Stack Overflow
It helped me out alot. Something to consider is trying to put a span without a display edit in there and give it...
Read more >Setting Height And Width On Images Is Important Again
To prevent layout shifts and improve performance scores, we need to always set width and height attributes on our images.
Read more >CSS Flexible Box Layout Module Level 1 - W3C
However, like width and height, the flex longhands apply to the table box as follows: the flex item's final size is calculated by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I suggest you do it in upper Component, it is a complex and special requirement for a basic component.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.