-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
MultiGrid alignment when scrolled to far-right or bottom #535
Comments
I noticed this as well, with a pretty wide table (10k items by 70px), it actually seems to distort more or less based on scroll: Direction seems to affect it as well: |
Makes sense; |
Has anyone been able to find a temporary workaround for this by a chance? It'd be great if you shared. |
It's not pretty but it's a workaround: https://gist.github.com/jeffvan576/dd6ad36869fff28be9043d9e28307135 Then feed in adjustedMeasurement.height and adjustedMeasurement.width instead of the AutoSizer width and height. Seems to be working here so far. Again, not pretty but a temporary patch. |
Seems because of scrollbars. On chrome I can hide the scrollbars using this css
But for ff, I have to use @jeffvan576 solution. Would be nice to have it fixed in react-virtualized itself. |
…eft Grids a little extra space to scroll into. (#535)
Fixed this, although I'm not super thrilled with the fix. Check out 9.2.1 ... |
Still not fixed. To see it, put the cell border to black, not grey. With grey, it's hard to see. Scroll both with the scroll bar thumb and also with scroll bar end and start thumb. It's still not lined up perfectly, although very close. |
still not fixed |
Just to confirm, this still is not fixed and does not work... |
…eft Grids a little extra space to scroll into. (bvaughn/react-virtualized#535)
I know this issue was opened in 2017 and the issue is marked as closed, but this is still an ongoing issue. A fix for this would be greatly appreciated. thanks. |
…eft Grids a little extra space to scroll into. (bvaughn/react-virtualized#535)
…eft Grids a little extra space to scroll into. (bvaughn/react-virtualized#535)
I was trying out the MultiGrid demo at https://bvaughn.github.io/react-virtualized/#/components/MultiGrid and noticed a problem when scrolling to the far-right or bottom.
The columns in the top grid become misaligned with the main grid body. (Same for the rows when scrolling to bottom.)
I assume this is due to the presence of the scrollbar in one div causing an offset?
Tested in Chrome 55 and Firefox 50
The text was updated successfully, but these errors were encountered: