Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix animation when the transition is .none #481

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

Juanpe
Copy link
Owner

@Juanpe Juanpe commented Jan 10, 2022

Resolves #459

Summary

When the skeleton appears without transition the constraints are animated too. This solution enqueues the completion in the main thread.

@Juanpe Juanpe self-assigned this Jan 10, 2022
@Juanpe Juanpe merged commit 458e5fc into main Jan 10, 2022
@Juanpe Juanpe deleted the fix/bug_animation_without_transition branch January 10, 2022 15:32
ndtoan75 pushed a commit to notabasement/SkeletonView that referenced this pull request Jul 5, 2022
* main: (276 commits)
  Add Swift Package Index badge for platforms
  Bump version 1.29.3
  Bump cocoapods-downloader from 1.2.2 to 1.6.3 (Juanpe#497)
  Bump version 1.29.2
  Fix crash when text is empty (Juanpe#483)
  Update CD.yml
  Update stale.yml
  Bump version 1.29.1
  Fix animation when the transition is `.none` (Juanpe#481)
  Bump version 1.29.0
  Create new `SkeletonGradient constructor (Juanpe#480)
  Update CD.yml
  Bump version 1.28.0
  Improved number of lines calculation (Juanpe#479)
  Update CD.yml
  Bump version 1.27.0
  Add skeletonCornerRadius in SkeletonAppearance (Juanpe#478)
  Update CD.yml
  Bump version 1.26.2
  Fix last line text alignment when using padding insets (Juanpe#477)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The appearance of skeletons is visible when the View Controller is displayed
1 participant