Open mvoong opened 9 years ago
Right, I think I have an idea where that's coming from. I'm going to try to fix it asap.
I'm having a real bad time trying to reproduce this constantly but it looks like it only happens when interacting with the picker view. Can you do me a favor and try to reproduce it after removing the picker view from the hierarchy ?
Thanks for looking at this. Sorry for the delay, been tied up with other work.
Ah, yes, the problem completely goes away when there isn't a nested scroll view. It seems like during scrolling of the page view controller, if you interact with an inner scroll view, it cancels scrolling. Setting scrollEnabled to NO on the inner scroll views fixes this.
Okay, cool. I'll keep looking into it, maybe there's a way around this limitation.
Same, without inner scroll views
__
In the example app, it is possible for the scroll view to stop in the wrong place. You can reproduce this by swiping rapidly with multiple fingers, sometimes in opposite directions. After it gets to this state, swiping works as normal, until it happens again.
I looked at the code to see if there was anything obvious going wrong but I didn't find anything.
This happens on an iPhone 6 running iOS 8.4 and the Simulator running 8.4 and 8.1.