Skip to content

appendMsg更新消息打字效果时,在浏览消息时,不强制滚动到底部(会出现往上滚动和自动滚动底部的冲突,导致的抖动效果) #162

@garveychen

Description

@garveychen

What problem does this feature solve? (这个功能解决了什么问题)
ChatSDK: 6.5.0
通过sse或其他方式接收到后端数据,然后通过appendMsg渲染消息列表时,滚动条会自动滚动到底部。如果此时我正在阅读前面的消息,会直接跳走,体验不好。

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions