Open
Description
Describe the bug
When reloadData()
is called, the collectionView
sometimes doesn't preserve the scrolling position, causing the collectionView to jump abruptly
To Reproduce
Steps to reproduce the behavior:
- Open and run the stock example project (workspacce) under
MagazineLayoutExample
- Please see the attached gif to reproduce this issue
Note: this doesn't occur every time, you need to adjust scrolling position before reloading the data if you cannot reproduce it at the beginning
Expected behavior
The screen should maintain its position after reloading data
Screenshots
Smartphone (please complete the following information):
- Simulator: iPhone 11 Pro Max
- OS: iOS 13.0
- Version: current
Additional context
Not sure if this could be a bug in UICollectionView rather than MagazineLayout, please advise.
Metadata
Metadata
Assignees
Labels
No labels