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

tabbarview结构下刷新状态无法区分的问题 #838

Open
iamchixigua opened this issue Jun 13, 2024 · 1 comment
Open

tabbarview结构下刷新状态无法区分的问题 #838

iamchixigua opened this issue Jun 13, 2024 · 1 comment

Comments

@iamchixigua
Copy link

demo的tabbarview例子, tabbarview下的两个模块共用了最外层的refresh刷新作用域, 导致两边都要下拉刷新上拉加载的时候上拉状态无法区分开,
问题: 当一个页面分页加载完毕,在onload return 结束状态后 另一个页面将不再触发下拉

需求: tababarview的demo中每个页面有独立的上拉加载状态 , 下拉统一在最顶部下拉触发

@xuelongqy
Copy link
Owner

其实这个应用场景。应该类似闲鱼那种,刷新所有tab页的数据比较合适。当你切换tab页的时候,header回收也不是一个好的处理方式。如果需要单独tab页刷新,不建议放在顶部,而是每个tab页面单独添加下拉刷新。这个可能暂时得不到解决,目前也找不到好的方式处理。如果你对这个问题有研究,欢迎提交pr

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

No branches or pull requests

2 participants