uias / Pageboy

📖 A simple, highly informative page view controller
MIT License
1.99k stars 155 forks source link

Scrolling with the bouncing off causes the current page to be incorrectly offset. #108

Closed bobek-balinek closed 5 years ago

bobek-balinek commented 7 years ago

When I've set the bounce to false and flicked the pages with a bit more impact I noticed it incorrectly offsets the current page. Below is a short gif with the issue (Pink rectangles are the bounds of the view controllers to help visualise the issue):

c

msaps commented 7 years ago

Hi,

Yeah I've seen this before. Unfortunately the method to disable bouncing when using a UIPageViewController isn't pretty at all and doesn't quite work right. I'll have a look at seeing whether I can improve it 👍