html-next / vertical-collection

Infinite Scroll and Occlusion at > 60FPS
https://html-next.github.io/vertical-collection/
MIT License
176 stars 77 forks source link

Mobile iOS - scrolling up is broken #315

Open evanb2 opened 4 years ago

evanb2 commented 4 years ago

Device: iPhone 11 iOS: 13.3 Browser: Safari and Chrome (also tested on iPhone 5s running iOS 12.4, same result)

Bug: When scrolling up, as soon as we reach the end of the loaded content it triggers loadAbove many many times. Scrolling the list very quickly, way past the what the user would expect.

Tested using the demo page: 2020-02-25 at 10 18 AM

Guessing this is something to do with how scroll events are handled in WebKit.

hoIIer commented 4 years ago

@evanb2 I believe this is a known issue as in the past I had tried using this for a chat application and we discovered that there were issues with scrolling up on ios etc. At that time @pzuraq had reviewed and concurred it was designed for scroll down behavior. There was a specific scroll-related bug but I can't remember it now... I ended up rolling a custom component instead of VC for that use case.