chatscope / chatscope/chat-ui-kit-react

Keep position after adding new items

Open
#121 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Currently when adding new items (using infinite scroll) to the top of the list, the new Messages push down the old ones creating the impression of the messages jumping up. (That's standard html/js behaviour)
This library should properly handle keeping the view position consistent as new messages are added.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the infinite-scroll message list and reproduce loading older messages at the top. Trace the list's scroll position before and after items are added; done means the visible messages remain in the same position instead of jumping upward.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
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.