sjovanovic / xpull

Pull to refresh jQuery plugin for iOS and Android
MIT License
71 stars 27 forks source link

Working with a dynamic list #6

Open ndgwv opened 9 years ago

ndgwv commented 9 years ago

I've not been able to keep the pull to refresh functionality after an xpull ul list is emptied and updated with new li contents in a jquerymobile project. Would you be able to provide an example of how to use the plugin with such a dynamic list? Thanks!

ndgwv commented 9 years ago

I found that placing xpull on a container DIV, not the UL, itself solved my issue. Is there a way to temporarily disable xpull? Like when the list is at the bottom of a small screen and you want to scroll up but xpull won't let you because it's trying to refresh? Or when you have a temporary list inside the DIV that doesn't require the a Pull to Refresh feature?