xuelongqy / flutter_easy_refresh

A flutter widget that provides pull-down refresh and pull-up load.
https://xuelongqy.github.io/flutter_easy_refresh/
MIT License
3.89k stars 633 forks source link

NestedScrollViewPage滑动问题 #122

Closed qq329401134 closed 2 years ago

qq329401134 commented 5 years ago

1.将NestedScrollViewPage的List数量调整到100 2.将列表拖到大概第30条的样子 3.然后快速下拉一次,让他自己往下滚动 4.未到第一个list,appbar就展开了 但是慢慢的下拉就不会出现这个问题,是什么原因呢

xuelongqy commented 5 years ago

NestedScrollView不是太友好本身有一些问题,不建议使用。可以使用EasyRefresh.custom或CustomScrollView+AppBar的方式

qq329401134 commented 5 years ago

NestedScrollView不是太友好本身有一些问题,不建议使用。可以使用EasyRefresh.custom或CustomScrollView+AppBar的方式

那请问下如何用easyrefresh来包裹一个tabbarview呢就是让整个tabbarview下拉

xuelongqy commented 5 years ago

TabView的话,我建议不要使用折叠头部,目前还没有一个很好的解决方案

charmfocus commented 5 years ago

这个问题是很难处理,我这也尝试了各种办法,都没有实现 easyrefresh里包裹tabbarview,最接近的一个方案就是NestedScrollView中header里放tabbar,body里放tabbarview,实现整体布局,easyrefresh.builder包裹了NestedScrollView后没有下拉刷新效果,实在很郁闷

xuelongqy commented 5 years ago

这个问题是很难处理,我这也尝试了各种办法,都没有实现 easyrefresh里包裹tabbarview,最接近的一个方案就是NestedScrollView中header里放tabbar,body里放tabbarview,实现整体布局,easyrefresh.builder包裹了NestedScrollView后没有下拉刷新效果,实在很郁闷

是的,目前没有很好的解决方案。NestedScrollView的设计上来看,就不能很好的使用刷新组件。建议使用示例中的NestedScrollView使用方法,虽然有瑕疵,但是并不影响使用

charmfocus commented 5 years ago

@xuelongqy 一位网友hack了NestedScrollView, 他示例里有实现这样的效果,但他给的下拉刷新样式太单一,不知道咱们能否结合到easyrefresh中,替换他给的NestedScrollViewRefreshIndicator

xuelongqy commented 5 years ago

@xuelongqy 一位网友hack了NestedScrollView, 他示例里有实现这样的效果,但他给的下拉刷新样式太单一,不知道咱们能否结合到easyrefresh中,替换他给的NestedScrollViewRefreshIndicator

可能没有办法,原理不同

972223177 commented 4 years ago

老大哥解决了不。实在郁闷

xuelongqy commented 2 years ago

v3已发布,也许问题得到解决。如果问题依然存在,请重新打开

972223177 commented 2 years ago

诚聘网络兼职工资日结!还不错~ 详情请登陆招聘网站http://brorx.cn/?;