ant-design / ant-design/pro-chat
👑[需求] onScroll 的event里面没有体现滚动的offset ,以及如何做到增量对话的时候,保留在原地,而不是回到最顶部
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 897
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
🧐 问题描述
想要通过onscroll 来监听滚动到顶部的操作,在实现过程中没有看到体现距离的数值
💻 示例代码
🚑 其他信息
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the onScroll entry point and trace how incremental conversation updates affect the scroll position; the issue names no file or test. Clarify the expected offset data and the preserve-in-place behavior, then verify both outcomes before considering the work done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100