calimarkus/JDFlipNumberView

Freeze in some occassion

nix1024 opened this issue · 9 comments

When I leave a scene during the animation and switch back, the numbers are frozen in a middle state until next one, how to avoid this?

Thank you in advance.
04a0a88f-e503-4442-959d-7c028462458c

What do you mean with leaving a scene? Like leaving the viewController, but then entering the same again?

Exactly.

I have the same problem.

so do I, always happen when other view's animation started.

I found a way to minimize the problem. I was trying to start the animation while a previous one was still in progress. I now set a flag and check before starting a new animation.

It still occurs though when a user triggers an animated segue before the animation has finished.

I know this is a bit late but, I'm working on a solution but I can't quite solve this issue.

If someone has a solution can you put in a PR? Thanks ahead of time! I'm also open to discussion about how to solve this problem.

hi @huangc10 have you found any fix for the issue ? Or any alternate solution for this. Please let us know if anyone else found a solution for the above freeze issue,

so, is it resolved?

Got this bug too