badoo / badoo/Chatto

Visual bugs when changing many item's heights

Open
#614 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

When updating heights of multiple items (18 items in my example), I've got a visual bug - flickering effect with new (updated) items are flowing up from the bottom of collection and moving to some top position beyond the screen.
I attached video when you can see it if you will look frame-by-frame.
I also attached a screenshot of the middle state of this animation.

Screenshot 2019-10-02 at 19 03 31

Video:
[Screen Recording 2019-10-02 at 18.08.22.mov.zip](https://github.com/badoo/Chatto/files/3682074/Screen.Recording.2019-10-02.at.18.08.22.mov.zip)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the multi-item height update described in the issue and compare the collection's animation frame by frame with the attached video and screenshot. Trace the relevant collection layout and update behavior; done means updating many item heights no longer causes flickering or items to move from the bottom to an incorrect off-screen position.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.