Web: Scroll position is not at the new message indicator on switching channels with unreads between 30-60

Description

Happens on 5.12v and 5.13v

Repo:
1. Have unreads between 30-60 in a channel
2. Switch to the channel with unreads

Expected: Load 30 posts and make another API call to load 30 more as all of the messages are unread. After loading the new 30 posts scroll position should be fixed wherever it is left at(If no scroll happened between the second API call then scroll position should be at the top of 30 posts).


Observed: UI loads 30 posts make another API call and keep the scroll position at the top of 30 posts

Reference for expected behaviour

 

QA Test Steps

see description

Status

Mana

None

Assignee

Sudheer Timmaraju

Reporter

Sudheer Timmaraju

Epic Link

None

Fix versions

Mattermost Team

Sustained Engineering

Sprint

None

Labels

GitHub Issue

None

QA Assignee

Lindy Isherwood

QA Testing Areas

Messages