airbnb / airbnb/MagazineLayout

ContentOffset is adjusted incorrectly when delete cells

Open
#58 0 comments 0 reactions 1 assignee Claimed by @bryankeller View on GitHub
bug
Dominant language
Swift
Stars
3.4k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Scroll collection view to the bottom, then delete some cells, the behavior is unexpected. The animation of deleting cell is great, but the `contentOffset` is adjusted without any animation, the collection view just jumps.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/10205466/68543925-61743580-03f8-11ea-9d1f-2348b8b3e496.png)

**Smartphone (please complete the following information):**
- Simulator: iPhone 11
- iOS 13

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.