Need to disable Css Animations for app resume

animation

#1

Hello, i’,m new on {N}

I set an animation on my Nativescript 3 + Angular application.
It’s very fashion, at startup all elements come in a cool way, and is all good.

I created css classes for this: tran-x tran-x-1 tran-y tran-y-1…
But the problem is when i press Home, and resume the app, all the coolest things again start to animate.

I want this animation only start at begin of the app, and not at every resume…
Any suggestions?

Thanks you


#2

It depends on how and where you trigger those animations; are those css animations, or NativeScript animations, or Angular animations? Perhaps you can share a Playground app so we can take a look.


#3

these are css animation