Skip to content

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

Description

@Broich

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions