Endless scroll

27 views
Skip to first unread message

Hans

unread,
Oct 5, 2015, 4:37:21 AM10/5/15
to Ruby on Rails: Talk
I develop an application in  rails 3.2 and ruby 1.9
I am using endless scrolls as described in railcars 114. I works fine except when I try to use it on a remote table with remote will paginate. Then there is already an index.js file and I cannot find out how to use endless scrolling this situation
Grateful for any ideas

andy nutter-upham

unread,
Oct 13, 2015, 9:37:21 AM10/13/15
to Ruby on Rails: Talk
Railscasts is now premium content. Perhaps you could provide a bit more context.
http://railscasts.com/episodes/114-endless-page-revised?view=asciicast

As a User Experience side note, please be sure that infinite scroll is appropriate. Depending on the goals of your user it can be a frustrating interface. If you are not tracking infinite scroll position then when a user is forced to refresh may loose their place (restoring state is important), and consider if a user might want to share a particular part of the list (state in the url). For general usability reading: http://www.nngroup.com/articles/infinite-scrolling/
Reply all
Reply to author
Forward
0 new messages