leah / PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.
http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html
MIT License
1.91k stars 252 forks source link

contentInset not cleared properly #2

Closed thinkey closed 14 years ago

thinkey commented 14 years ago

thanks for great sharing

if you drag immediately after the last refresh done and before the stop loading animation done, and release the drag with half of the arrow visible(do not trigger a new refresh), the arrow will never gone. This may be fixed by clear the isLoading flag before the animation, or introducing another flag.

increase the animation duration may help on reproducing this.

leah commented 14 years ago

Thanks! I've updated the code with your fix.