Tencent / Tencent/tdesign-miniprogram

[PullDownRefresh 下拉刷新] 刷新中时,增加可以控制是否允许继续下拉刷新操作

Open
#3,446 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.