-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DataTable: CSS Bug with attributes 'showGridLines' and 'scrollable' #6857
DataTable: CSS Bug with attributes 'showGridLines' and 'scrollable' #6857
Comments
Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days. |
Are you using Tailwind only or also a PF theme? |
@paulBrdInfotel try this I can't reproduce: Unzip it and run |
Have you tried scrolling down? Because in your screenshot, the scroll bar is at the top. |
i see yeah it looks like the header is off one pixel. I am sure you can look at the CSS in the inspector and figure out what TailWind or PR style is affecting it. |
I'm going to try and solve this problem, but I imagine that other people will have the same bug. It would be a pity not to fix this bug for future users. Thanks for your help. |
Yep it looks like its juts slightly off so i am sure its a CSS change somewhere in here. |
Describe the bug
Firstaly, If you use a DataTable with the showGridLines and scrollable attributes, when you scroll the DataTable you can see the data in the top row because the header has no longer a border.
Then, I couldn't find an attribute to have a border at the bottom of the DataTable. Because if my table doesn't show all line and i have a scroll bar.
NO OK :
OK :
Reproducer
No response
PrimeReact version
10.7.0
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Edge
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: