Please replace this with the steps to reproduce the behavior.
Create a UICollectionView with a layout of UICollectionViewFlowLayout ( vertical )
Set the skeletonable properties in a UICollectionViewCell
Set the contentOffset to (top: 180, left: 25, bottom: 80, right: 20)
Use showSkeleton, and then Hideskeleton after making/mocking a network request
Expected result:
Please replace this with what you expected to happen.
It was supposed to just stay in place and show the skeleton animation.
Actual result:
Please replace this with of what happened instead.
However, I'm getting a weird result. The collectionView is shifted upwards by about 30-40 points, and then once skeleton is stopped it moves back to the intended position. It's as if skeletonView is overriding the contentOffset value that I originally set.
Attachments:
Logs, screenshots, sample project, funny gif, etc.
Description
Describe your issue here.
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.16.0 Xcode version: Version 12.5 (12E262) **Swift version: 5.0
Steps to reproduce:
Please replace this with the steps to reproduce the behavior.
Expected result:
Please replace this with what you expected to happen. It was supposed to just stay in place and show the skeleton animation.
Actual result:
Please replace this with of what happened instead.
However, I'm getting a weird result. The collectionView is shifted upwards by about 30-40 points, and then once skeleton is stopped it moves back to the intended position. It's as if skeletonView is overriding the contentOffset value that I originally set.
Attachments:
Logs, screenshots, sample project, funny gif, etc.
https://user-images.githubusercontent.com/80654289/120860545-d9163200-c553-11eb-8d0e-c8c7c39cdb58.mp4