bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.31k stars 3.05k forks source link

On iPhone, scrolling react-virtualized `List` is too fast #1847

Open lancejpollard opened 1 week ago

lancejpollard commented 1 week ago

On iPhone 13 (iOS 17) latest Safari, scrolling a 300px tall virtual list with 200k rows that are 100px tall each is way too fast, it goes over dozens of items when I barely move my finger.

Can it be configured or customized somehow? If not, is this fixable?

On Google Chrome on my Macbook, scrolling is a perfect and natural momentum scroll. But on iPhone, not only is it fast, it comes to a hard stop after some slowing, but not momentum style easing/slowing down. It's also somewhat choppy when it slows down on iPhone. See here.

lancejpollard commented 1 week ago

See here. I only swipe once, then once again, notice how fast it is. Notice how as the scroll slows down it chops too.

https://github.com/user-attachments/assets/542e6373-299a-4d03-82e8-c83302f452df