Motion affects other 3-rd party animation libraries
Hi there! First of all, I want to say that I love Motion a lot, it is a great thing which allows developers to do awesome stuff in their apps. I want to use it in our project a lot, but I am currently having several issues, and I would like to help finding and fixing them...
Along with Motion, I am using NVActivityIndicatorView, and I noticed that after several Motion transitions, my NVActivityIndicatorView animations work with some delay, and the more Motion transitions I perform, the worse it gets for NVActivityIndicatorView. Here is a video of a simple project I made. I tap "Animation" button to trigger NVActivityIndicatorView animation, it works fine. Then I do 10 Motion transitions and tap "Animation" again. You can see a slight freeze/delay. I repeat it 2 more times and it gets worse with every 10 transitions. In my real app with more complex views and transitions this thing is noticeable even after 2-3 transitions
I discovered that HeroTransitions has the same issue: https://github.com/HeroTransitions/Hero/issues/256 And it happens not only with NVActivityIndicatorView but with other libraries too as you can see in that discussion
Hey! Thank you for the issue! I've checked the both Motion and NVActivityIndicatorView sources (not tried your app, do not have proper xcode right now). I have no clue what happens there that causes lag in our side.
In the Hero issue you linked, someone posted that beginTime = CACurrentMediaTime() causes issue. Can you try . ballClipRotatePulse animation in your NVActivityIndicatorView? It does not use set beginTime = CACurrentMediaTime()
It acts the same with . ballClipRotatePulse...
@roteirod This will take some time to solve. I will setup a workspace with NVActivityIndicatorView shortly.
@roteirod This will take some time to solve. I will setup a workspace with NVActivityIndicatorView shortly.
Hey! Do you have some update on the issue? Can't wait to start using your library in our app.. :)
Hi @roteirod looking at this today. Sorry for any delays.
Hey, guys! Any progress on this issue?
@roteirod Hey, sorry no, there hasn't been any progress. We have been so busy with other work, that we haven't had a chance to look into this.
@roteirod Hey, sorry no, there hasn't been any progress. We have been so busy with other work, that we haven't had a chance to look into this.
Ok... Let me know when you look into it
Is this issue resolved ? I am looking for a library that doesn't breaks other animation libraries.