Coder Social home page Coder Social logo

Comments (7)

bogardon avatar bogardon commented on June 21, 2024

oops. i'll take a look. can you attach your code in the mean time?

So I just tried this out myself. What I'm seeing is that it does go back to the inset, except that it is does not do it smoothy. Is this what you see as well?

from mspulltorefreshcontroller.

joedj avatar joedj commented on June 21, 2024

Thanks.

Sample code here:
http://joedj.net/pulltest.tgz

Video of behaviour here:
http://youtu.be/7Llbfzse2dQ

from mspulltorefreshcontroller.

bogardon avatar bogardon commented on June 21, 2024

I'm definitely getting the same behavior you're getting when I use your viewcontroller. Namely, it doesn't stop at the declared inset, and where it stops seems random.

What's interesting is, if I set your HEIGHT constant to 25, I get the behavior I was talking about. Namely, it always stops at the declared inset, except it skips there.

Without knowing how pagingEnabled works underneath, this will be hard to fix....

from mspulltorefreshcontroller.

joedj avatar joedj commented on June 21, 2024

No worries, at least I'm not crazy. Don't feel like you have to fix it on my account :) I already released my project using the delay workaround I mentioned in the initial post:

https://github.com/joedj/purchasestats
(specifically https://github.com/joedj/purchasestats/blob/master/PurchaseStatsView.m#L249 )

from mspulltorefreshcontroller.

workwithnano avatar workwithnano commented on June 21, 2024

Would there be any harm in using @joedj's fix within the library since it has access to the scrollView?

from mspulltorefreshcontroller.

joedj avatar joedj commented on June 21, 2024

Note that my workaround isn't perfect. For example, if you pull the view such that canEngageRefreshDirection fires, then release it a little bit until didDisengageRefreshDirection fires, and then pull it back so that canEngageRefreshDirection fires again, the content offset jumps a bit. I don't know why this happens...

Still, it's good enough for me :)

from mspulltorefreshcontroller.

feef avatar feef commented on June 21, 2024

Hmm, I'm assuming with the note of "wontfix" this isn't on the dev radar? I'm experiencing the same problems described above and the proposed hack-around is causing more problems than it's fixing. I'm going to be working towards my own solution, but for what it's worth, I'd like to add a little +1 to the investigation of this if possible.

from mspulltorefreshcontroller.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.