Replies: 2 comments
-
I had the same problem. The issue is because the body of the table has a scroll bar and the header doesn't. (I'm going to guess this issue is way more noticeable on a Windows machine since the scroll bars are much bigger than Mac or Linux) I came up with a work around, I won't say its pretty, but it got my able to continue working. Then there is the issue of the bottom border not completely covering where the scroll bar is; to fix that I added a border bottom to the table head (the div that wraps {headerGroups.map(....} ). Also had to remove the border on each cell in the table header (otherwise the two border clash). Like I said, not the easiest thing, but it fixed the issue. Heres a codesandbox. https://codesandbox.io/s/friendly-albattani-pkn22?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
-
Since this is a UI question, I've converted it into a discussion. React Table doesn't prescribe any UI implementations, so this is all user-land. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug (required)
See the screenshot.
Provide an example via Codesandbox! (required)
https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/virtualized-rows
Steps To Reproduce (required)
Steps to reproduce the behavior:
Expected behavior (Recommended)
The vertical lines are straight.
Screenshots

Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions