Reputation: 2171
I have a paged scroll view in my app and it works almost perfectly... Usually one page looks like this:
There is no content below this, but when i move it as if it should scroll down (clicking and swiping upwards) it stops moving at this stage:
It's as if its decided that that is an acceptable page loaction or something. If i drag it part way up it snaps the rest of the way up, and if i drag it part way down it snaps all the way down.
Why is it considering this an acceptable place to stop? Is there an easy property to set im missing? Or is there a way to allow only horizontal scrolling?
Thanks
Upvotes: 1
Views: 213
Reputation: 1283
Check the contentSize
property of the scroll view. That determines how far it will scroll, and you can manually set it to control exactly where it will scroll to.
Upvotes: 2
Reputation: 3300
Is the scroll view on 0,0 on the canvas? It looks like it is not actually centered on the screen.
Upvotes: 0