Open ibesora opened 12 years ago
I had a go at fixing that (https://github.com/elliotcw/infinity), if you put a class of 'scrollable' on your div it will pick up the scroll event.
Have a look at the commit, as I changed some other stuff to get it working with Zepto.
Hey guys... just so you know this isn't in the source downloaded from http://airbnb.github.com/infinity. Looks like it's in the infinity.js file in the top level folder on gh, but not in /build/infinity.js.
I'm trying to use infinity to scroll a long list of elements. Instead of having the infinity div take all of the webpage space I place it inside another div with a fixed height and width and with scrollbars. Although the contents are first rendered correctly, when the scroll is moved the contents is nor repainted. I suppose it is because the main page scroll is not moved.