Skeletonview: Gradient Animation not working when app becomes active

Created on 6 Feb 2018  ยท  14Comments  ยท  Source: Juanpe/SkeletonView

When the app goes in the background and comes back as active, the gradient animation on Skeleton View is not working.

โœ… fixed ๐Ÿž bug

Most helpful comment

I'm using 1.4.1 ver and still see this bug. It's very simple to reproduce:
Start skeleton animation:

let gradient = SkeletonGradient(baseColor: UIColor.nephritis)
let animation = SkeletonAnimationBuilder().makeSlidingAnimation(withDirection: .leftRight)
self.showAnimatedGradientSkeleton(usingGradient: gradient, animation: animation)

Switch to another tab, come back to tab with animation - see frozen gradient.

All 14 comments

Hi @attheodo, this issue has been solved in version 1.1

@Juanpe just updated to 1.1. It doesn't seem like the issue has been properly fixed.

Hi @attheodo, you're right. Today, I'm going to release an hotfix to solve this problem ๐Ÿ™ƒ commit

Hi @attheodo, I've released a new version (1.1.1), now it should work fine ๐Ÿ™‚

@Juanpe nope, it doesn't ๐Ÿ˜…

Sorry man, I re uploaded the version 1.1.1, could you update your pods?

@Juanpe still same issue buddy. Did you update 1.1.1 in the trunk?

Hi @attheodo, new version is out 1.2, should solve this issue

I'm using 1.4.1 ver and still see this bug. It's very simple to reproduce:
Start skeleton animation:

let gradient = SkeletonGradient(baseColor: UIColor.nephritis)
let animation = SkeletonAnimationBuilder().makeSlidingAnimation(withDirection: .leftRight)
self.showAnimatedGradientSkeleton(usingGradient: gradient, animation: animation)

Switch to another tab, come back to tab with animation - see frozen gradient.

@Dalein me too

@Juanpe is this issue solved, I see the same issue in 1.8.1, when I go to background and come it shows like frozen

Screen Shot 2019-09-10 at 2 41 02 PM

I am also experiencing this issue

this needs to be fixed

Hi @i0sa, could you install a specific branch? next version should fix this problem.

pod 'SkeletonView', :git => 'https://github.com/Juanpe/SkeletonView.git', :branch => 'master'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

adelbios picture adelbios  ยท  4Comments

kak2008 picture kak2008  ยท  4Comments

aboutsajjad picture aboutsajjad  ยท  7Comments

mohpor picture mohpor  ยท  6Comments

son picture son  ยท  4Comments