Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appendMsg或resetList更新消息列表时如何不让滚动条自动滚动到底部 #32

Closed
vaseala opened this issue Apr 28, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@vaseala
Copy link

vaseala commented Apr 28, 2021

What problem does this feature solve? (这个功能解决了什么问题)

通过socket或其他方式接收到后端数据,然后通过appendMsg渲染消息列表时,滚动条会自动滚动到底部。如果此时我正在阅读前面的消息,会直接跳走,体验不好。

Describe the solution you'd like (描述您想要的解决方案)
执行appendMsg时,如果通过某种方式判断到正在阅读前面的消息记录,则不要让滚动条自动跳转到底部

What does the proposed API look like? (你期望的 API 是怎样的)
暂时没深入了解相关API,不做评论

@vaseala vaseala added the enhancement New feature or request label Apr 28, 2021
@akai
Copy link
Collaborator

akai commented Jun 17, 2021

等 1.0 发布稳定后,会加入这个功能

@lphkxd
Copy link

lphkxd commented Feb 21, 2023

啥时候发布?

@vaseala vaseala closed this as completed Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants