- iphone12 的touchend/tap/longtap 事件都会在手指抬起前提前触发
html: <view style="width:100px;height:100px;background-color: pink;" bind:touchstart="touchStart" bind:touchend="touchEnd" bind:touchcancel="touchCancel" bind:tap="tapEvent" bind:longtap="longTap"></view> js: touchStart(e) { this.time = Date.now(); console.log('touchStart', this.time); }, touchEnd(e) { console.log('touchEnd', Date.now(), Date.now() - this.time); }, touchCancel(e) { console.log('touchCancel') this.handleMicTouchEnd(e); }, tapEvent(e) { console.log('tapEvent', Date.now(), Date.now() - this.time); }, longTap() { console.log('longTap', Date.now(), Date.now() - this.time); }, [图片] 实际上触摸并未停止,但是touchend/tap/longtap 事件被提前触发了。
06-20 - input和textarea使用placeholder-style设置字体粗细在400以下时不生效
input和textarea使用placeholder-style设置字体粗细在400以下时不生效
06-04 - input 组件在设置font-size后,聚焦失焦的时候字体大小会变动。
input 组件在设置font-size后,聚焦失焦的时候字体大小会变动。
05-28 - swiper 组件在使用wx.setNavigationBarColor改变胶囊颜色的时候切换会卡顿
swiper 组件在监听到切换轮播项的时候,使用wx.setNavigationBarColor改变胶囊颜色,轮播切换会卡顿。
05-28 - textarea可以控制不换行吗?
textarea可以控制不换行吗?
05-27 - wx.getWindowInfo() API 获取 windowHeight 不对
安卓手机在从自定义头部导航栏页面跳转到非自定义头部导航栏页面后,在非自定义头部导航栏页面使用wx.getWindowInfo()获取到的windowHeight和screenHeight一样了。 截图windowHeight: 767 是使用wx.getSystemInfo()获取的是对的,截图windowHeight: 857是使用wx.getWindowInfo()获取的,是错的。 [图片][图片]
04-11 - 在点击video时切换controls,点击video时video上方会留有阴影。
在点击video时切换controls,点击video时video上方会留有阴影,ios、安卓手机和开发工具都能复现。[图片][图片][图片][图片]
2024-10-17