-
Notifications
You must be signed in to change notification settings - Fork 34
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
怎么下拉刷新没效果啊? #4
Comments
请用手机测试,不要用开发工具。 |
demo在手机上测试了下拉刷新还是无效,上拉加载更多是没问题 |
同问 |
安卓上没有反应,苹果的可以 |
原因是scroll-view在iOS上有橡皮筋效果,scrollTop可以为负值,在安卓上没有橡皮筋效果,scrollTop最小为0。可做以下下修改,暂时用着,待 @ianho 想出更好的办法。
增加
修改
|
@ssyzh 谢了,安卓不支持回弹确实麻烦 |
@ssyzh 没有很明白你指的解决方式,比如改动xml的哪一块,ready方法指的是什么 |
确实如此,但是scrollTop也不准,scrollTop的值,应该是松手后,但是会有惯性滑动,所以不太灵敏。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,下拉刷新无效
The text was updated successfully, but these errors were encountered: