3

I encountered two buggy scrolling behaviors with react-data-grid. One is the table header's delayed scrolling compared to the table body. The other one is the frozen columns' stuttering behavior. Both are only observed when scrolling with trackpad gestures.
See the comparison scrolling by

trackpad

enter image description here

scrollbar

enter image description here

And try it yourself here - their example

I think that these issues are caused by inertial scrolling but I am having trouble finding a way to detect it (I tried lethargy but it does not work as well as it does in its demo) and even if I can, I can't implement it because the callback in onScroll event listener is nested inside the library. For a more detailed problem statement, I have also posted in react-data-grid github repo

Hope this is making sense. Any help is appreciated!

deHaar
  • 17,687
  • 10
  • 38
  • 51
Liam
  • 48
  • 5

0 Answers0