ant-design / ant-design/pro-chat
🐛[BUG]流式输出过程中,上滑查看聊天记录会自动回到底部(即无法上滑查看聊天记录)
- Dominant language
- TypeScript
- Stars
- 898
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 bug 描述
在 SSE 流式输出的过程中,上滑查看历史聊天记录会自动回到底部(即无法上滑查看历史聊天记录)
### 📷 复现步骤
1. 设置流式输出
2. 输入问题添加记录至需滚动查看历史聊天记录的程度
3. 再次输入问题并等待响应
4. 在响应流式输出过程中上滑查看聊天历史记录
5. bug 出现,无法查看历史聊天记录
### 🏞 期望结果
在 SSE 流式输出的过程中,可以上滑查看历史聊天记录
### 💻 复现代码
参考官方#大数据渲染示例: https://pro-chat.antdigital.dev/components/pro-chat#%E5%A4%A7%E6%95%B0%E6%8D%AE%E6%B8%B2%E6%9F%93
### © 版本信息
- @ant-design/pro-chat 版本: v1.15.3
- 浏览器环境
- 开发环境 mac OS
### 🚑 其他信息
见附图

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with @ant-design/pro-chat v1.15.3 using the official large-data rendering example linked in the report. Test manual upward scrolling while an SSE response streams; done means historical messages remain viewable instead of the chat being forced back to the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100