badoo / badoo/Chatto

How to keep offset when scrolling to top?

Open
#711 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

My datasource load new items from server, and when method "loadPrevious()" add new items, chat automatically scroll to the top, don't keeps offset at previously shows message.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and callers of loadPrevious() in the Swift chat framework, then reproduce loading older messages while scrolled away from the top. Done means newly inserted items preserve the previously visible message offset instead of jumping to the top; add or update the relevant regression test if the existing test structure identifies one.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.