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

当数据载入完后,如何禁止virtual-scroll不再滚动? #18

Closed
lianghuilin opened this issue Sep 20, 2017 · 1 comment
Closed
Labels

Comments

@lianghuilin
Copy link

如题,当数据载入完毕后,想通过一个标识,禁止virtual-scoll再执行loading操作

@tangbc
Copy link
Owner

tangbc commented Sep 20, 2017

你是想禁止滚动还是禁止 loading ?

如果是禁止滚动的话,可以改变一下 rclass 用 CSS 设置 overflow-y: hidden !important; 这时候滚动条就没有了;

如果是禁止 loading 的话,virtual-list 从没有做 loading 操作,只是滚到底部发个消息出去而已,到底要不要 loading 是你自己的代码决定的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants