Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WORKAROUND: Animation stops when another view controller is presented #51

Open
VatanaChhorn opened this issue Jun 1, 2021 · 0 comments

Comments

@VatanaChhorn
Copy link

For those who are still having these issues, and looking for an approach to it, I highly recommend using Hero for the transition between view controllers instead of the default one.

From the Hero documentation

"It won't modify any of your views' states other than hiding them during the animation,"

which really suitable for our case here since the previous view's just hiding, thus the transition doesn't interrupt the animation of the gradients at all.

You can find HERO library through this link: https://github.com/HeroTransitions/Hero

Happy coding everyone : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant