Closed rr-dw closed 7 years ago
Hi,
That looks like a legit fix. I wonder what "progress bar" are you talking about though?
Cheers, Andrej
"progress bar" == circular progress indicator
When I invoked infinite scroll indicator on bottom and then slightly pushed it back down, it also shifted offset(in some weird animation)
@rr-dw Oh I see now. I fixed the other spot where it used to reset horizontal offset:
Please pull the latest master to verify that everything works as expected. I don't think we change offset anywhere else.
Thanks for raising this issue!
Glad I could help.
// Scroll to top if scroll view had no content before update state.scrollToTopWhenFinished = ![self pb_hasContent];
I had always a content so pb_scrollToTop was not triggered for me, but I tried it for you with no content(both: your fix and without) and I can confirm that there was also offset bug and that your fix is working correctly.
This fix has been released as a part of 1.0.1.
Fixed bug when there was weird animation which shifts offset (if there was specified different offset then default one). This shifting occurred when user panned scroll/collectionview during "finishInfiniteScroll" or when he partially hid the progress bar before the "finishInfiniteScroll" was called.