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下拉时快速切换Tab会导致状态卡死 #6164

Closed
Bermida opened this issue May 16, 2023 · 5 comments
Closed

PullToRefresh下拉时快速切换Tab会导致状态卡死 #6164

Bermida opened this issue May 16, 2023 · 5 comments
Labels
need reproduce We cannot reproduce your problem

Comments

@Bermida
Copy link

Bermida commented May 16, 2023

Version of antd-mobile

5.17.0

Operating system and its version

Others

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

如题

Relevant log output

No response

@Bermida Bermida added the bug label May 16, 2023
@Bermida
Copy link
Author

Bermida commented May 16, 2023

PullToRefresh中onRefresh函数还在pending时切换tab,状态会一直卡在refreshing,render的div会一直停留在页面上,更新了最新版本无效

@13725102796
Copy link

@miracles1919
Copy link
Contributor

可以参考这个案例看看: https://codesandbox.io/s/stoic-hill-8g4clh?file=/src/components/getPullToRefreshlData.tsx

这个我打不开诶,一直 Transpiling Modules...

@Bermida
Copy link
Author

Bermida commented May 24, 2023

可以参考这个案例看看: https://codesandbox.io/s/stoic-hill-8g4clh?file=/src/components/getPullToRefreshlData.tsx

如果是不同tab共用同一个下拉组件,切换tab时根据网络请求结果去渲染列表的情况呢?

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

Hi, Bermida.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

4 participants