Open pareeohnos opened 11 years ago
You'll have to modify inifnity to listen on your custom scrollbar scroll event. Also you'll need to change $window.scrollTop() in the updateStartIndex() function to $yourElement.scrollTop()
A bit hacky but will do the trick.
Alright thanks. Will give that a go when I next use it :)
Has anyone had any luck implementing this with a custom scroll bar? I want to use something such as the jScrollPane jQuery plugin, but I'm not having any luck whatsoever :(
Does anyone know how I could get it to work with either this plugin or a similar one?