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

[可复现]聊天记录模式时,当触发scrolltoupper加载数据后,如何让滚动条位置不变 #149

Open
StevenMinrun opened this issue Jul 22, 2024 · 0 comments

Comments

@StevenMinrun
Copy link

StevenMinrun commented Jul 22, 2024

编译平台
HbuilderX 4.14

VUE版本
vue2

运行平台
app

z-paging版本
2.7.11

问题描述:
聊天记录模式时,当触发scrolltoupper事件后,利用addChatRecordData(list, false, false)加载数据后,画面会自动滚到最下面,如何控制让画面不滚动?设置toBottom为false无效

@StevenMinrun StevenMinrun changed the title 聊天记录模式时,当触发scrolltoupper加载数据后,如何让滚动条位置不变 [可复现]聊天记录模式时,当触发scrolltoupper加载数据后,如何让滚动条位置不变 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant