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

PullToRefresh 通过外部控制onRefresh是否结束 #6270

Open
Bermida opened this issue Jul 25, 2023 · 1 comment
Open

PullToRefresh 通过外部控制onRefresh是否结束 #6270

Bermida opened this issue Jul 25, 2023 · 1 comment
Labels

Comments

@Bermida
Copy link

Bermida commented Jul 25, 2023

Version of antd-mobile

5.17.0

What is this feature about?

之前提过一个issue:在多个tab共用同一个PullToRefresh组件时,快速切换tab会导致onRefresh事件始终到不了完成态,导致组件状态卡死 #6164 (comment)

后来又看到了另一个issue感觉是想要的效果,即通过外部控制onRefresh事件的状态 #5653 (comment)

不知道PullToRefresh可不可以加上这个功能呢

@cbbfcd
Copy link
Contributor

cbbfcd commented Aug 23, 2023

类似 ref.current.startRefresh, ref.current.completeRefresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants