Tencent / Tencent/tdesign-miniprogram
[PullDownRefresh 下拉刷新] 刷新中时,增加可以控制是否允许继续下拉刷新操作
Open
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
这个功能解决了什么问题
顶部显示刷新中时,用户再次下拉触发重复请求,或者下拉松开 导致本应该显示刷新中的效果被隐藏了 但实际其实还是在刷新中
你建议的方案是什么
判断value是否是刷新中,如果刷新中,那么再次下拉时候 不触发新的请求和效果
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the PullDownRefresh component and inspect how its value represents the refreshing state. Reproduce the repeated pull and release scenario described in the issue. Done means a pull during refreshing triggers neither a new request nor a new refresh effect, while the existing refresh remains visible.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100