Open MihaiDamian opened 10 years ago
One workaround is to call foldWillOpen on the fold view that is unfolded by setPaperFoldState:animated:. Something like this:
[_paperFoldView.leftFoldView foldWillOpen];
This seems to initialize some internal state in the MultiFoldView that seems to be missed by calling setPaperFoldState:animated:
Steps to reproduce:
[_paperFoldView setPaperFoldState:PaperFoldStateLeftUnfolded animated:NO];
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.