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

下拉刷新的问题 #14

Open
HRobbie opened this issue Dec 13, 2017 · 1 comment
Open

下拉刷新的问题 #14

HRobbie opened this issue Dec 13, 2017 · 1 comment

Comments

@HRobbie
Copy link

HRobbie commented Dec 13, 2017

下拉刷新执行完$(sl.contentDom).prepend(refresh_li);这个方法后,就有上拉刷新的动画了。这样做不合理,应该执行完sl.refreshComplete();这个刷新完成之后,才有上拉动画。

@fa-ge
Copy link
Owner

fa-ge commented Dec 13, 2017

先说明一点,上拉动画是一直显示的,只要你当前内容活动到最底部的时候就能看到上拉动画,但其实你没滚动到最底部他依旧显示。所以这个插件其实不是叫上拉加载,确切的说是滚动加载!所以你说的问题只要内容超过一屏应该是不会显示上拉动画才对啊。

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

2 participants