question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature discussion] Table and "autoheight" respecting parent's container height

See original GitHub issue

What 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:closed
  • Created 6 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
afc163commented, Apr 5, 2017

I suggest you do it in upper Component, it is a complex and special requirement for a basic component.

0reactions
lock[bot]commented, May 1, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found