kitasuke / PagingMenuController

Paging view controller with customizable menu in Swift
MIT License
2.49k stars 448 forks source link

Fix for not breaking the animation when moving from position 2 to 0 i… #336

Open mordonez-me opened 7 years ago

mordonez-me commented 7 years ago

When you move from position 2 to 0 the pageview animation breaks, only reach 1 and after that the 0 viewcontroller appears with no animation.

We know the problem happens when you call those two methods but we have not tested with all the cases, so, this pull request is just to let you know this fix the problem on 3 view controllers case.