PhyTouch icon indicating copy to clipboard operation
PhyTouch copied to clipboard

在微信上快速滑动,有时候会卡住,就划不动咯

Open licong96 opened this issue 7 years ago • 12 comments

我上滑下滑,大概滑了几十下,然后滑不动了。我在change里面打印出了value,显示NaN,这是什么情况

licong96 avatar Aug 18 '17 07:08 licong96

我琢磨出来了

licong96 avatar Aug 18 '17 07:08 licong96

什么原因?

dntzhang avatar Aug 20 '17 11:08 dntzhang

这个出现的概率不大,小弟才疏学浅,找不到原因,只做了个判断处理:当value值等于NaN,我就重新初始化程序

licong96 avatar Sep 01 '17 02:09 licong96

偶尔就会出现这个问题,然后后续每次滑动都是NaN...完全无解

VincentPat avatar Jan 25 '19 05:01 VincentPat

wx20190125-143934 wx20190125-143857

试着打印了一下,dt居然有为0的时候,自然基于dt计算得出的speed为NaN了...

VincentPat avatar Jan 25 '19 06:01 VincentPat

初始化实例后,每次滑动还是NaN

starxiao avatar Aug 01 '19 03:08 starxiao

修复了

dntzhang avatar Aug 01 '19 03:08 dntzhang

@dntzhang 怎么修复的呢,我这边用的最新版本还是会卡住之后就滑不动了

budingbububu avatar Dec 29 '19 13:12 budingbububu

请问解决了吗,我也碰到类似的问题了

baishuiraodongcheng avatar Jan 03 '20 07:01 baishuiraodongcheng

是哪个问题啊?

宋嘉欣

 

------------------ 原始邮件 ------------------ 发件人: "baishuiraodongcheng"<[email protected]>; 发送时间: 2020年1月3日(星期五) 下午3:46 收件人: "AlloyTeam/PhyTouch"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)

请问解决了吗,我也碰到类似的问题了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Topjiaxin avatar Jan 03 '20 07:01 Topjiaxin

@Topjiaxin change里面打印出了value,显示NaN 就划不动咯

baishuiraodongcheng avatar Jan 03 '20 07:01 baishuiraodongcheng

划着偶尔出来滑动距离是NaN,然后就划不动了

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: xiaoxin <[email protected]> 发送时间: 2020年1月3日 15:48 收件人: AlloyTeam/PhyTouch <[email protected]> 抄送: baishuiraodongcheng <[email protected]>, Comment <[email protected]> 主题: 回复:[AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)

是哪个问题啊?

宋嘉欣

&nbsp;

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"baishuiraodongcheng"<[email protected]&gt;; 发送时间:&nbsp;2020年1月3日(星期五) 下午3:46 收件人:&nbsp;"AlloyTeam/PhyTouch"<[email protected]&gt;; 抄送:&nbsp;"Subscribed"<[email protected]&gt;; 主题:&nbsp;Re: [AlloyTeam/PhyTouch] 在微信上快速滑动,有时候会卡住,就划不动咯 (#85)

请问解决了吗,我也碰到类似的问题了

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

baishuiraodongcheng avatar Jan 08 '20 05:01 baishuiraodongcheng