ā ļø Please fill out this template when filing an issue.
I made this view with top to bottom gradient. This is what I used to create gradient:
let gradient = SkeletonGradient.init(baseColor: color_262626, secondaryColor: color_4B4B4B)
let animation = SkeletonAnimationBuilder().makeSlidingAnimation(withDirection: .topBottom)
skeletonView.isSkeletonable = true
skeletonView.showAnimatedGradientSkeleton(usingGradient: gradient, animation: animation)
When I leave the app or go to app switcher and go back to my app I expect the gradient to be the same because I did not update it in any way.
Instead of staying the same gradient direction, it changed from top to bottom, to left to right.
Video attached.
SkeletonView 1.5
Xcode 10.1 (10B61)
Swift 3

Thanks @kimsonwong for report this bug. It will fixed soon :)
I have the issue that when I use it in a tab view switch out and switch back, the animation stops. Anyway to prevent this?
To add to @FeedMyTummy, for me not only does the animation stop, the skeleton view looks pretty strange (not a solid color).
@Juanpe do you know if this and the issue reported by OP are the same? It sounds like you already have an idea of what might have gone wrong? I believe this is also related to (much older) #88.

FWIW, after upgraded to 1.8, I always see the above, even on the first load..
Thanks @danqing, Iām working on this bug, I hope release a patch soon š¤š¼
Hi!
This bug has been fixed in version 1.8.1
Thanks for reporting this bug and for use SkeletonView.
Most helpful comment
I have the issue that when I use it in a tab view switch out and switch back, the animation stops. Anyway to prevent this?