Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong highlighter position when swiping beyond the view's center position. #47

Open
Broich opened this issue Jan 20, 2018 · 0 comments
Open

Comments

@Broich
Copy link

Broich commented Jan 20, 2018

I admit it's hard to tell what's going on by reading the title of this issue but I didn't know how to put it in a better way and I think it's severe.

To reproduce

  • use only 2 view controllers in UIPageVIewController (that's the scenario I use).
  • swipe to the second view controller and continue swiping but keep your fingers down on the display so that the highlight bar'x origin x position will continue to be larger than the center of the screen (in case of e.g. iPhone8 = 187.5).
  • In order to reproduce it, it's important that you do not lift your finger after you started scrolling from the first to the second vc. If that's hard to do, keep pushing your first finger down on the display and use a second finger to scroll further.
  • Once the highlight bar's x position is > 187.5 (in case of the iPhone 8) it will switch back to 0 and the highlight bar is in the position of the first view controller even thought the second vc is currently displayed.

@cwRichardKim any idea how to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant