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

Scrollbar is over header and not just body #331

Closed
1 task done
jporchy opened this issue May 9, 2024 · 1 comment
Closed
1 task done

Scrollbar is over header and not just body #331

jporchy opened this issue May 9, 2024 · 1 comment

Comments

@jporchy
Copy link

jporchy commented May 9, 2024

mantine-react-table version

1.3.4

react & react-dom versions

v18.2.0

Describe the bug and the steps to reproduce it

Unless I'm missing something, there does not seem to be a way to make the scrollbar go over just the body and not the header.
image (1)

Minimal, Reproducible Example - (Optional, but Recommended)

You can even see this happening at the table in https://www.mantine-react-table.com/docs/guides/virtualization#enable-row-virtualization-demo

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@alessandrojcm
Copy link
Collaborator

Hi, this is intended behavior, HTML tables are not really meant to have scrolling bodies but on the table as a whole. So the workaround is using position sticky on the header so it stays at the bottom while the rest of the table scrolls.

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

2 participants