-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[material-ui][Table] Scrollbar extends into header when using stickyHeader on Table component #34416
Comments
Tagging @danilo-leal and @zanivan since it is a UI/UX decision-related issue. Also, there was a recent duplicate issue: #40770. |
Even though there's a technical reason behind why the scroll bar shows up over the sticky header, it doesn't really make sense for it to be like that from a UX standpoint. The scroll bar should only pop up in parts that actually scroll. Having it everywhere can confuse users, making them think they can scroll where they can't. Tagging @siriwatknp since you're this component's owner. |
Is there any workaround for this issue ? |
+1 |
@DiegoAndai should we include this for v6? |
@zanivan I don't think this would need braking changes, so I wouldn't "pin it" to v6. I'll add the For anyone interested in taking this, we should investigate the cause and propose a solution. Feel free to open a PR and add me as a reviewer. The expected outcome is that the scroll bar should only pop up in parts that actually scroll. |
Are there any updates on this? |
Hey @umarmunirpl, thanks for reaching out. I have no updates, but the issue is ready to take in case you wish to work on it. I would be happy to guide you. |
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
Current behavior 😯
The scrollbar extends into the header
Expected behavior 🤔
The scrollbar should stop at the top edge of the top row of the table
Context 🔦
Have a UX that is consistent for end users
Your environment 🌎
npx @mui/envinfo
I tested this in Chrome and Firefox with the same results
The text was updated successfully, but these errors were encountered: