Skeletonview: Lag before showing skeleton

Created on 21 Feb 2020  路  4Comments  路  Source: Juanpe/SkeletonView

What did you do?

Before the skeleton view is showed, for a fraction of a second you can see the underlying views (typically with placeholder text). It doesn't look that great. (See attached video - I've enabled slow animations to make it more visible).

What did you expect to happen?

Ideally, you shouldn't be able to see the views behind the skeleton.

What happened instead?

ezgif com-optimize

Steps to reproduce the behavior

You can easily reproduce it with the example project.

SkeletonView Environment

SkeletonView version:
Xcode version:
Swift version:

Most helpful comment

Use showAnimatedGradientSkeleton(transition: .none) to avoid the lag. It's a delay coming from the default transition.

All 4 comments

We are experiencing the same issue.

any update 責! I am facing the same problem

@Juanpe

Use showAnimatedGradientSkeleton(transition: .none) to avoid the lag. It's a delay coming from the default transition.

Was this page helpful?
0 / 5 - 0 ratings