-
Notifications
You must be signed in to change notification settings - Fork 826
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
Vertical and Horizontal Scrollbars missing from DataTable with border #5407
Comments
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review. This is an automated reply, generated by FAQtory |
It looks like 8b2f056 is the bad commit. The PR mentions removing a workaround that was thought no longer needed, but perhaps this should be reverted? |
The issue is that both collapsible and datatable have height auto, which makes it unclear what height should be rendered. The datatable has max-height: 100%, which results in 100% of 0. If you set the tables max height to 100vh, it should work as before. Given that it's an easy trap to fall into, and the fix isn't obvious, I think that special case may have to be restored. Although not exactly the same, as that caused other issues. |
Thanks for the look. I can use vh units to get what I want and upgrade to v1.0.0. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
The behavior changed somewhere between textual==0.85.2 and textual==1.0.0.
textual==0.85.2 looks like:
textual==1.0.0 looks like:
The code to reproduce is:
The text was updated successfully, but these errors were encountered: