Skip to content

calling .scrollToPage(.at(index: 1), animated: true) when called from view will appear will scroll passed the 1 index #263

@austin-keith-vigo

Description

@austin-keith-vigo

Issue:
I have a PageBoyViewController set up to handle 2 other view controllers. From a different controller I am trying to navigate to the second viewController of the PageBoyViewController. When I navigate to the PageBoyViewController and switch indexes on viewWillAppear it go passed the intended index. Also, this issue only seems to appear on an iPhone 8 which is running version 12.4.

To Replicate:

  • Have a PageBoyViewController as a tab on a tabBarController.
  • On the PageBoyViewController, navigate to the first index
  • Navigate to a different ViewController
  • From that ViewController switch to the PageBoyViewController
  • In the viewWillAppear of the PageBoyViewController navigate to the second index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions