Skip to content

Fix table scrollbar issue #8526

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

Merged
merged 3 commits into from
Mar 21, 2025
Merged

Conversation

egbertbouman
Copy link
Member

Fixes an issue with multiple scrollbars becoming visible next to a table after resizing (see screenshot). By adding [&>[data-radix-scroll-area-viewport]]:max-h-[calc(100vh-57px)] to the ScrollArea parent of the Table, we set it's height dynamically based on the viewport size minus the header size (57px).
Since these issues occur only when changing the height of the browser, I've ignored issues with tables in the debug panel.

image

This PR also:

  • FixesResizableHandle being shown when it isn't needed.
  • Removes duplicate SVG code for showing spinners.

@egbertbouman
Copy link
Member Author

validate

@egbertbouman egbertbouman marked this pull request as ready for review March 21, 2025 10:41
@egbertbouman egbertbouman merged commit 21c63e8 into Tribler:main Mar 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants