Comments (7)
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.
Thanks.
Sample code here:
http://joedj.net/pulltest.tgz
Video of behaviour here:
http://youtu.be/7Llbfzse2dQ
from mspulltorefreshcontroller.
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.
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.
Would there be any harm in using @joedj's fix within the library since it has access to the scrollView?
from mspulltorefreshcontroller.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mspulltorefreshcontroller.