badoo / badoo/Chatto

Issue with focus on ChattoViewController Start

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

Description

Hi,
I am preloading my data in Another ViewController and on display of ChattoViewController my array is already ready.
When i open chats from starting are visible in the viewcontroller and i have to scroll down each time at bottom manually.
I call `self.delegate?.chatDataSourceDidUpdate(self, updateType: .normal)` at the end of preload.
If I try to change focus in ViewDidAppear the scroll to bottom is visible keeping animation flag to false also.

Contributor guide

Open the contributing guide

Research direction

Start with ChattoViewController's viewDidAppear behavior and the chatDataSourceDidUpdate(self, updateType: .normal) call used after preloading. Reproduce the case where chats are already available when the controller opens, then check whether the initial view is at the bottom without a visible scroll animation; done means the latest messages are shown at the bottom on first display.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.