-
Notifications
You must be signed in to change notification settings - Fork 29
请问chat聊天,如果新消息来时 #3
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
Comments
在 |
发布了v0.2.1,可以用实例的 |
好的,感谢你的付出! |
直接修改版本号安装就可以,npm官网页面没有实时更新。 |
但是真的沒有,淘宝npm镜像中也没有v0.2.1 |
|
请问chat聊天,如果新消息来时,当前滚动条在底部,他可以正常一直滚动到底部,但是有一种场景就是滚动条在中间或者在其他位置时(不在最下方),此时新消息来了,不让它滚动到最底部,我应该如何去做呢,我如何知道当前滚动条是否在最下方,或者说距离下方的有个阈值,只要是在触发了阈值就回馈到底部的方法。
我目前的办法是:使用了@scroll="scroll" @tobottom="onBottom" 这两个方法来进行工作,但是触底时onBottom比scroll先到来。
期待你的回复
The text was updated successfully, but these errors were encountered: