dissecting-rxjs icon indicating copy to clipboard operation
dissecting-rxjs copied to clipboard

第一章第一个rxjs示例有问题

Open zzmmzz777 opened this issue 6 years ago • 1 comments

https://github.com/mocheng/dissecting-rxjs/blob/master/chapter-01/rxjs/timingSenseTest.js#L5

这里使用了 withLatestFrom

相比于 jQuery 的版本,这里有个 bug:

  1. 第一次,正常点击一次鼠标,得到结果
  2. 第二次,使用鼠标点击空白处,再将鼠标移动至按钮上松开,会错误计时。

zzmmzz777 avatar May 20 '18 07:05 zzmmzz777

按照jQuery版本的思路,此处如何清除 mouseDown 呢?正确的方法应该是怎么处理?

fengyunhe avatar Oct 29 '19 07:10 fengyunhe