News for hackers. Stuff that matters.
Re:Infinite Scrolling: When to Use It, When to Avoid It by amelius on Saturday September 10, 2022 @10:21AM (#32790906)
> I don’t think we can special-case network streaming here (although it’s not unimportant either).

The relative position inside an infinite stream is always 0, and the height of the scrollbar handle (showing relative size of the viewport relative to the entire document) is also 0.

As the size of a finite-sized document grows, these problems also show.

Problems are: you can't click on the handle since its size is close to 0; you can't click above the the handle to do effectively go one page up, since the handle is at position 0 (or close to it).

Scrollbars are pretty useless for large documents, even more so for infinite streams.

Re:Infinite Scrolling: When to Use It, When to Avoid It by paulryanrogers on Saturday September 10, 2022 @12:39PM (#32792179)
I recall desktop UIs solving this by having a minimum scroll button size. Then just aligning the bar to the full height of the doc, at least where the data size was known. And when first loaded the bar would sometimes shift as it loaded, albeit without having to scroll to force further loading.