Juanpe / Juanpe/SkeletonView

Wrong animation at start of animation

Open
#549 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
12.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Description

Hi,
I have added skeleton on collectionview cell.

At start of animation I have two problems:

  1. On my cell the labels and button are centered but at start of skeleton I see the entering animation from left
  2. While step 1 is completed the skeleton animation it's wrong (forever top/down animation).
What type of issue is this? (place an x in one of the [ ])
  • bug
Requirements (place an x in each of the [ ])
  • [ X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [ X] I've read and agree to the Code of Conduct.
  • [ X I've searched for any related issues and avoided creating a duplicate issue.
Bug Report

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

SkeletonView Environment:

SkeletonView version: 1.30.4
Xcode version: 14.2
Swift version: 5.7.2

Steps to reproduce:

Please replace this with the steps to reproduce the behavior.

  1. Create collectionview cell with centered label
  2. Apply skeleton at cell
Expected result:

Don't see animation from left to right
Don't see incorrect animation

1 2 3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a collection-view cell containing a centered label and an applied skeleton, using the reported Swift, Xcode, and SkeletonView versions as context. The work is done when the initial animation no longer enters from the left and the subsequent skeleton animation is correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.