Skip to content

Fold animation not working for the first tim after setPaperFoldState:animated: if animated is NO #72

@MihaiDamian

Description

@MihaiDamian

Steps to reproduce:

  1. Open the PaperFold project
  2. Insert this line in init after the views are setup:
    [_paperFoldView setPaperFoldState:PaperFoldStateLeftUnfolded animated:NO];
  3. Run the app and observe the left view. It is unfolded, as expected.
  4. Swipe left to fold the left view
  5. Instead of the left view folding it is simply covered by the center view

If you unfold the left view again and fold it it will work, but the first time it doesn't. This bug only happens if the state is set with animations turned off.

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