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

iphone6s 整合PullRefresh and List下拉刷新将这个页面下拉,无法触发下拉刷新事件 #2937

Closed
cd249745647 opened this issue Mar 11, 2019 · 8 comments

Comments

@cd249745647
Copy link

IMPORTANT: Please use the following link to create a new issue. If your issue was not created using the app above, it will be closed immediately.

注意:请按照下面的模板来新建 issue,不规范的 issue 会被立即关闭.

Describe the bug
iphone6s 预览官网list组件,下拉将整个页面下拉了,无法触发下拉刷新事件

Screenshots
Add screenshots to help explain your problem.

Environment

  • Device: ios10.3.3
  • Browser: 微信浏览器
  • Vant Version: "vant": "^1.6.6"

Reproduce
Provide the steps to reproduce and if possible a minimal demo of the problem via jsfiddle.
https://jsfiddle.net/dfarLdko/522/
微信图片_20190311102719

@chenjiahan
Copy link
Member

请问页面是否已经完全滚动到顶部了,PullRefresh 只有在页面滚动到顶部的时候才会触发

@cd249745647
Copy link
Author

请问页面是否已经完全滚动到顶部了,PullRefresh 只有在页面滚动到顶部的时候才会触发

是从顶部开始滚动的。

@chenjiahan
Copy link
Member

试了下没有复现这个问题,能否提供一下复现视频呢

@cd249745647
Copy link
Author

试了下没有复现这个问题,能否提供一下复现视频呢

微信图片_20190311102719
好像无法上传视频,我放到服务器上了,地址
http://mem.s.weshaketv.com/1234567/chendong/zze/vant-list-bug.mp4 可以点进去查看复现视频

@chenjiahan
Copy link
Member

目测大概率是这个问题:#3015 可以参考下

@cd249745647
Copy link
Author

cd249745647 commented Mar 22, 2019

目测大概率是这个问题:#3015 可以参考下
自己项目升级了版本号,确实好了。不过你们官网,我手机端访问,list组件下拉刷新还是有问题的,你们是否也需要同步更新?因为大多数开发者,都是需要先访问你们官网,看实际效果。
不过这个问题是间接性的,有时是好的,有时是有问题的。不知道是不是和组件加载顺序有关联。刚刚重新打开了之前项目,还是有问题。不知道这个临界点是在哪里。

@chenjiahan
Copy link
Member

会不会是有缓存呢

@cd249745647
Copy link
Author

会不会是有缓存呢
清了缓存,还是时不时出现问题,不过概率比之前小多了。还有就是切换tab刷新数据的时候,window.scroll(0, 0)滚动到顶部,这个时候有时候也不会触发下拉刷新,而是需要将页面滑动一下,然后才会触发下拉刷新。不知道window.scroll(0, 0)算不算是滑动到浏览器顶部。

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