lcodecorex / TwinklingRefreshLayout

RefreshLayout that support for OverScroll and better than iOS. 支持下拉刷新和上拉加载的RefreshLayout,自带越界回弹效果,支持RecyclerView,AbsListView,ScrollView,WebView
Apache License 2.0
3.99k stars 672 forks source link

嵌套ScrollView使用时,当ScrollView超过屏幕一点距离时,TwRefreshLayout往下拉时会导致顶部部分内容显示不全 #136

Open zhangguobing opened 7 years ago

springeye commented 6 years ago

我也遇到了,经常出现

zhangguobing commented 6 years ago

有没有办法可以解决

PeanutZhang commented 6 years ago

确实有这个问题,如何解决,初始化的时候是完整的,往下拉几下 顶部的高度就会被“吃掉” 变窄了

lost24 commented 6 years ago

用这个demo里面的库是没问题的
如果用gradle compile 'com.lcodecorex:tkrefreshlayout:1.0.7' 就存在
实测 估计版本不匹配

ausboyue commented 6 years ago

亲测,1.0.7版本增加了下拉后不放手直接回拉(上拉),TwinklingRefreshLayout的子View允许被上拉负数高度的功能,作者可能试图添加这个良好的用户体验,但是目前存在大家所说的bug----顶部被吃掉。因为项目忙还未来得及看源码,找其原因,目测是子view高度计算出现问题,建议大家先使用1.0.6及更早版本,日后有空再来看看源码,当然!更希望作者能够早日修复这个问题。

xiaozhao0331 commented 6 years ago

弱弱的问一句 这个问题现在已经修复了么?