element-hq / element-hq/element-ios

Duplicate portion of messages in room page when scrolling up and entering room details

Open
#1,303 0 comments 0 reactions 0 assignees View on GitHub
P1 T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

To reproduce:

1. Open room A.
2. Scroll to the top by tapping several times the navigation bar
3. Once on the top of the room, hit the chevron to enters Room details
4. Leave Room details by hitting "<" button
5. Hit several times navigation bar to reach the top

At this point it doesn't make sense to be able to scroll up since we are already in the top of the room
You can see that a big portion of messages is duplicated above the position on step 2.

In the following gif you can see that, after reaching the top a second time, the messages below the timestamp "MAR 14" are duplicated when we scroll down.
![duplicated messages when reaching top f room and entering details](https://user-images.githubusercontent.com/22364949/27183501-0ce09a72-51df-11e7-9ee2-c92e1c481831.gif)

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sequence in the iOS room page: scroll to the top, open and leave Room details, then return to the top and scroll. Trace the room message-list state across navigation and verify that reaching the top again does not display duplicated messages, particularly those below the “MAR 14” timestamp.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.