PolymerLabs / uni-virtualizer

Monorepo for a "universal" (renderer-agnostic) virtual scroller and renderer-specific variants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unreliable scroll using scrollbar thumb

tpluscode opened this issue · comments

Easily reproducible in our setup, the scrolling experience is rather unpredictable when trying to drag the thumb to an arbitrary position.

We have an example dataset with 16k items.As you can see in the video below, in one case I dragged it almost to the bottom and I did in fact get close to the end of my list. But after refreshing the actual position in the data would wildly differ from the perceived scroll position (and the scrollbar get promptly adjusted). On many occasions the position is off by multiple thousands

Code to reproduce is available at https://github.com/zazuko/zack-search

Untitled_.Jun.9.2022.11_03.AM_edit.mp4