Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.62k stars 1.12k forks source link

SkeletonCell Disappears #517

Open septynade opened 2 years ago

septynade commented 2 years ago

Description

I have a skeletonized tableView that runs/animates fine in its first animation, but on its second or more animation (API call) the skeletoncells shown are only one or two cells, and even zero cells (if I set the numberOfRowsInSection to a value less than 20)

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

SkeletonView Environment:

SkeletonView version:: 1.29.2 Xcode version:: 14.0 Swift version:: 5.7

Steps to reproduce:

Please replace this with the steps to reproduce the behavior.

  1. Setup tableView and skeletonize it
  2. Trigger showAnimatedGradientSkeleton

Expected result:

Normal skeleton animation and cells doesn't disappear.

Actual result:

Skeletoncells disappears on 2nd or more animations

Attachments:

First animation:

image

2nd animation, some of the cells disappears:

image
mendesahdivio commented 1 year ago

trying to check this issue