skyline模式真机调试(模拟器没问题)
在动态加载后端数据的情况下,只要sticky-header中有内容,拉动过程中必奔溃
(静态数据没问题)
<scroll-view class="goods-list" scroll-y style="width: 100%; height: 100%;" type="custom">
<block wx:for="{{goodsList}}" wx:key="id">
<sticky-section>
<!--
<sticky-header>
<view class="header" style="background-color: red;">{{item.header.name}}</view>
</sticky-header>
-->
<list-view>
<view class="goods-item" wx:for="{{item.data}}" wx:key="itemId" wx:for-item="subItem">
<image class="goods-image" fade-in src="https://profile-avatar.csdnimg.cn/default.jpg"></image>
<view>{{subItem.name}}</view>
</view>
</list-view>
</sticky-section>
</block>
</scroll-view>
<cover-view class="float-btn">
<cover-view class="btn-text" bind:tap="addGoods">增加分类</cover-view>
</cover-view>
早在24年4月份就有人提出过这个问题,看来一直没解决
官方能给个说法吗?
代码片段提供下呢(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
https://developers.weixin.qq.com/s/QIJ2YhmW8Z0s
代码片段已提供
真机调试,多加几个分类,反复滑动,当用力滑到最顶部时,会出现卡死