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

pullUp为什么向上回滚也会触发? #31

Open
cooper1x opened this issue Mar 7, 2019 · 3 comments
Open

pullUp为什么向上回滚也会触发? #31

cooper1x opened this issue Mar 7, 2019 · 3 comments

Comments

@cooper1x
Copy link

cooper1x commented Mar 7, 2019

向下滚动速度过慢触底不会执行,速度快一点会执行,但是快速上滑动也会执行,这个就很奇怪了。请问怎么解决呢?

@Dafrok
Copy link
Owner

Dafrok commented Mar 7, 2019

复现不来,你用 devtool 还是真机?

@cooper1x
Copy link
Author

cooper1x commented Mar 8, 2019

@Dafrok
chrome canary模拟手机端,然后会出现这个情况,而且触底的操作有时候不容易触发。
我后来对direction做判断,为1的时候表示下滑,然后发送请求数据。
如果能够设置在触底前一段距离就触发就更好了。

@Dafrok
Copy link
Owner

Dafrok commented Mar 8, 2019

chrome 模拟好像是不太准,真机上目前还没遇到过这情况

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