bug: The “latest message” button doesn’t scroll to the correct position.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
首先,在 stream-chat-react 中复现该问题:将 messages_limit 设置为 25,准备一个包含 100 条消息的频道,并回复第一条消息。返回被回复的消息后,跟踪最新消息按钮的滚动行为。重复点击始终将视图定位到最新消息即表示完成。
由索引模型根据 Issue 内容生成。
描述
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GetStream/stream-chat-react 的其他 Issue
-
bug released on @rc status:confirmed
难度 4/5 3-5 天 新手友好度 52/100
GetStream/stream-chat-react#3279 · 4 条评论 ·
维护者通常 1 天内回复
-
bug status:confirmed WIP
难度 3/5 1-2 天 新手友好度 62/100
GetStream/stream-chat-react#3147 · 3 条评论 ·
维护者通常 1 天内回复
-
bug status:confirmed
难度 3/5 1-2 天 新手友好度 30/100
GetStream/stream-chat-react#2652 · 2 条评论 ·
维护者通常 1 天内回复
-
bug status: unconfirmed
难度 4/5 3-5 天 新手友好度 42/100
GetStream/stream-chat-react#2647 · 2 条评论 ·
维护者通常 1 天内回复
-
dependencies
难度 3/5 1-2 天 新手友好度 52/100
GetStream/stream-chat-react#1982 · 8 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 GetStream/stream-chat-react 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 75/100
siyuan-note/siyuan#20629 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Volume eject does not refuse system, root or /home mounts可能已有人在做 @bernardopg 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
spacedriveapp/spacedrive#3159 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
melgarafael/DeskcommCRM#3000 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
callstackincubator/simlock#639 ·
维护者通常 1 天内回复