We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当容器仅向下滚动少许距离时,此时上拉至顶不需要下拉刷新,由于当前的下拉刷新判定时机是滚动容器 scrollTop 为 0,导致命中下拉机制,且由于 scrollTop 大于 0,导致下拉动画快速过渡并无法取消。
scrollTop
0
@varlet/ui@latest
当容器元素 scrollTop 不为 0 时,此次触摸滑动不应命中下拉机制,当 scrollTop 为 0 时允许命中下拉机制。
The text was updated successfully, but these errors were encountered:
能给一个最小化可复现的 demo吗
Sorry, something went wrong.
操作流程:打开后,f12 开启手机模式,先滚动下列表,再向上拉至顶部。
f12
复现 demo
ok 已复现
08b04e3
No branches or pull requests
Bug report 🐞
当容器仅向下滚动少许距离时,此时上拉至顶不需要下拉刷新,由于当前的下拉刷新判定时机是滚动容器
scrollTop
为0
,导致命中下拉机制,且由于scrollTop
大于0
,导致下拉动画快速过渡并无法取消。Version & Environment
@varlet/ui@latest
Expectation
当容器元素
scrollTop
不为0
时,此次触摸滑动不应命中下拉机制,当scrollTop
为0
时允许命中下拉机制。Actual results (or Errors)
The text was updated successfully, but these errors were encountered: