Live data from Hacker News

High-Performance Infinite List in JavaScript

roeierez.github.io

1–10 of 24 posts

Re: High-Performance Infinite List in JavaScript

#4
post #3

So this is only for touch-based devices? Trying scrolling with the mouse/trackpad, nothing happens :(

for now yes. If you say you need it for desktop I am willing to add this support, it should be easy. to see the scrolling effect now you can simply drag or flick the list even from desktop.

Re: High-Performance Infinite List in JavaScript

#5
This seems neat and advanced. Didn't try it since I'm not on a mobile device at the moment though.

The submission could have used the word "scrolling" to make it clear this is about UI lists.

I thought it was about an infinite list data type, some variant of a generator or something.

Re: High-Performance Infinite List in JavaScript

#7
Rendering to the DOM only what the user can see unfortunately breaks the browser's "find" feature. I hope that this technique does not become more popular than it already is. That way the rest of the web, other than Facebook's news feed, can continue to be searchable.

Re: High-Performance Infinite List in JavaScript

#8
post #4
post #3

So this is only for touch-based devices? Trying scrolling with the mouse/trackpad, nothing happens :(

for now yes. If you say you need it for desktop I am willing to add this support, it should be easy. to see the scrolling effect now you can simply drag or flick the list even from desktop.

Small recommendation - make the demo more obvious. I skimmed through the article looking for it and couldn't find it until I hit Cmd + F

Re: High-Performance Infinite List in JavaScript

#9

Rendering to the DOM only what the user can see unfortunately breaks the browser's "find" feature. I hope that this technique does not become more popular than it already is. That way the rest of the web, other than Facebook's news feed, can continue to be searchable.

This kind of component in my mind is usually used in web applications, which then will also supply own search for you, which should be more robust than your browser find feature.

Re: High-Performance Infinite List in JavaScript

#10

Rendering to the DOM only what the user can see unfortunately breaks the browser's "find" feature. I hope that this technique does not become more popular than it already is. That way the rest of the web, other than Facebook's news feed, can continue to be searchable.

I wonder how you plan to support the browsers 'find' feature on an infinite list.
Post reply on HN