Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

bug: The “latest message” button doesn’t scroll to the correct position.

未关闭
#2,863 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
react, typescript
领域
frontend

调研方向

首先,在 stream-chat-react 中复现该问题:将 messages_limit 设置为 25,准备一个包含 100 条消息的频道,并回复第一条消息。返回被回复的消息后,跟踪最新消息按钮的滚动行为。重复点击始终将视图定位到最新消息即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug status: unconfirmed

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
I set the messages_limit to load 25 messages at a time.

Currently, my channel has 100 messages.
I replied to the very first message, then reloaded the page.

After reloading, when I click on the message I replied to, a button appears that allows me to jump back to the latest message.
However, when I click that button, it doesn’t always scroll correctly to the latest message — after repeating this action a few times, the scroll position becomes inaccurate.

Please show me how to fix this.
I want it to instantly scroll to the latest message when I click the button.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

https://drive.google.com/drive/folders/1qYArL6WbITStdY86bjmnvA_7K5k64MvB

Package version
"@stream-io/stream-chat-css": "^5.14.0",
"stream-chat-react": "^13.9.0",
"stream-chat": "^9.222.1"

主要语言
TypeScript
星标
845
派生
298
平均合并
18 小时 42 分钟
30 天内合并 PR
23

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GetStream/stream-chat-react 的其他 Issue

查看 GetStream/stream-chat-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。