When I apply to a div, which is inside an ion-content, which is inside an ion-nav-view (the index.html one, used to inject templates), the animation is fired, it works as intended. However, it is soooo laggy. Seems like I’m watching the animation run at 10fps or so. Is there a way to fix this?
Oh, and is there a way to apply animations to ion-tabs? Thanks!
I have 2 divs, which only one is visible at a time. Both divs have an ng-if condition. So when one is supposed to be showing, the other one is hid. The animations are working, however, they are just laggy. I’ve done them in CSS:
I mean, its no wonder why they’re slow/laggy, the animations aren’t hardware accelerated.
Animating the margin property is done on the cpu, along with all the other app processes.
But if you switch to use translate3d, it gets forced onto the GPU, and will be much smoother.