swiper-item中放了canvas画布,也放了其他的基本组件,在canvas上滑动时,swiper无法左右滑动,在基本组件上滑动时,swiper可以滑动。这个问题之前没有,在最近微信升级到7.0.7版后,就出现了,想请教下是什么情况?
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
iphone 7, wechart 7.0.7, ios 11.0.1
代码段:
<swiper current="{{currentTab}}" indicator-dots=“true” class=“swiper-box” duration=“300” style=“height:{{PageHeight * 0.53}}px”>
<swiper-item>
<view class=“intakeswiperview1” bindtap=“cancelAddChild”>
<view class=“intakeswiperview1row1”>
<canvas canvas-id=“intakecanvas” class=“intakecanvas” />
</view>
<view class=“intakeswiperview1row2”>
</view>
</view>
</swiper-item>
<swiper-item>
<view class=“intakeswiperview1”>
<view class=“intakeswiperview2row1” bindtap=“cancelAddChild”>
<canvas canvas-id=“habitcanvas” class=“intakecanvas” />
</view>
<view class=“intakeswiperview2row2”>
</view>
</view>
</swiper-item>
</swiper>