skyline 模式下 scroll-view + grid-view 无法实现下拉刷新,scroll-view[type="list"] 下拉刷新是正常,只要添加了 grid-view 就不支持下拉刷新了
代码片段:https://developers.weixin.qq.com/s/VZJXTbmh7tF0
示例代码:
<scroll-view type="custom" scroll-y style="width: 100%; flex: 1;" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="onRefresh">
<grid-view type="aligned" cross-axis-count="2">
<view wx:for="{{arr}}" style="display: flex;">
<image src="https://wx.qlogo.cn/mmhead/Q3auHgzwzM7ibT2R07j3F0sfQwFic86FtyU6TUMAuNz91M4f1MQ6csNw/0" style="width:100%;" mode="widthFix"></image>
</view>
</grid-view>
</scroll-view>
更新一下:在最新的基础库@2.30.3 + 微信@iOS@8.0.34已经解决了这个问题