[英]A workaround of the touchmove event bug?
我相信您将需要做更多的工作,并且我认为答案就在于使用所有其他事件来协调和管理“活动”状态。
el.on('touchstart mousedown', function(e) ...
el.on('touchcancel', function(e) ...
el.on('touchmove mousemove', function(e) ...
el.on('touchend mouseup', function(e) ...
我在某些方面使用了角接触,它们似乎可以解决相同的问题,值得看一下示例代码。 https://github.com/angular/bower-angular-touch/blob/master/angular-touch.js#L122
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.