Chaunjie commented on issue #2322: [Android][0.20.3.0-beta] list中 refresh和cell之间有间隙 URL: https://github.com/apache/incubator-weex/issues/2322#issuecomment-519486668 我回去试试------------------ 原始邮件 ------------------ 发件人: "Aemon"<[email protected]> 发送时间: 2019年8月8日(星期四) 晚上7:52 收件人: "apache/incubator-weex"<[email protected]>; 抄送: "禾呈"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [apache/incubator-weex] [Android][0.20.3.0-beta] list中 refresh和cell之间有间隙 (#2322) 【SOLUTION】 我不确定我的解决方法是否适用于大家的场景,以下方法仅供参加吧。 <navbar> ...... </navbar> <!-- 重点 --> <div class="float-div"></div> <list> <refresh :class="refresh" @refresh="onrefresh" :display="refreshing ? 'show' : 'hide'"> <image src="https://。。。。。。"/> </refresh> ...... ...... ...... </list> 与list组件并列加个float-div,css相关属性如下: .float-div{ opacity: 0; position: absolute; left: 0px; width: 375px; height: 600px; //注意:这里的高度根据你的刷新进度能拉多长决定,自己hold住即可。 } 重点注意: float-div高度 float-div 背景颜色与页面保持一致 最后提醒下,会出现这个问题,因为使用了自定义的refresh,如果使用官方提供的indicator,那就不会有问题,我这个解决办法也只是绕过去。 @Chaunjie 看这里,另外我的错误场景截图示例 :https://jpg.dog/i/NU5KN — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
