Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering issue when vertical scroll is enabled with fixed container height, and rows less < container height #159

Closed
zehawki opened this issue Dec 12, 2024 · 1 comment

Comments

@zehawki
Copy link

zehawki commented Dec 12, 2024

I recently moved to the latest version, and am facing a rendering issue when the container around the table is a fixed height to enable vertical scrolling. I'm using the code from this story https://react-table-library.com/?path=/docs/features-fixed-column--vertical-scroll.

As long as the vertical space taken by the number of rows > height of the container, everything is fine. But if the vertical space taken by the number of rows < height of the container, then all the rows expand to fill the space which of course looks terrible.

Here's how it looked before:

image

Hows how it looks now:

image


I've managed to reproduce it here by setting the height of the container to 800px. One can see how the rows have expanded to fill the space:

image


Ive not been able to fix this in CSS. Any clues as to how this can be handled?

@zehawki
Copy link
Author

zehawki commented Dec 12, 2024

Dupe of #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant