- long-press-gesture-handler组件按住不放时会持续触发
<!--components/app/device/device-list/device-list.wxml--> <scroll-view scroll-y="{{true}}" type="custom" style="height: calc(100vh - {{navbarHeight}}px)"> <grid-view type="aligned" padding="{{[20,12,20,12]}}" cross-axis-count="{{ columns}}" cross-axis-gap="16" main-axis-gap="24"> <block wx:for="{{devices}}" wx:key="id"> <tap-gesture-handler data-index="{{index}}" worklet:ongesture="onTap"> <long-press-gesture-handler data-index="{{index}}" tag="{{item.id}}" worklet:ongesture="onLongTap"> <view class="app-device-item" id="{{item.id}}" data-index="{{index}}"> <image src="../../../../static/png/pat.png" class="app-device-item_image" /> <view style="margin-top: 16rpx;">{{item.title}}</view> </view> </long-press-gesture-handler> </tap-gesture-handler> <!-- <view class="app-device-item" data-index="{{index}}" catch:touchend="onTouchEnd" bind:touchstart="onTouchStart"> <image src="../../../../static/png/pat.png" class="app-device-item_image" /> <view style="margin-top: 16rpx;">{{item.title}}</view> </view> --> </block> <view wx:if="{{showAdd}}" class="app-device-search" catch:tap="onAddTap"> <bingo-icon name="plus" size="48"></bingo-icon> </view> </grid-view> </scroll-view>
02-24 - longpress造成touchend不能触发的bug,几年了还没修复?
longpress造成touchend不能触发的bug,几年了还没修复?
02-24 - 目前的Picker组件不能无限循环滚动?
强烈建议无限循环滚动的Picker组件,参考下小米闹钟的选择小时的效果,比如0~23,可以一直循环
01-20 - worklet动画的回调函数无效?比如worklet.decay
https://developers.weixin.qq.com/miniprogram/dev/api/ui/worklet/wx.worklet.html
01-16 - 手势组件pan-gesture-handler等在canvas上消失
https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/changelog.html <view class="bingo-packer"> <pan-gesture-handler worklet:ongesture="onGesture"> <view class="bingo-packer__canvas_wrap"> <canvas type="2d" id="{{cid}}" class="bingo-packer__canvas" disable-scroll="{{true}}" style="z-index: 0;" /> </view> </pan-gesture-handler> </view> onGesture(e) { "worlet" console.log(e); }
01-14 - NodesRef.ref获取canvas节点返回undefined?
Android真机调试,基础库3.3.0, NodesRef.ref获取canvas节点返回undefined
01-14