-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MouseUp丢失报错 #29
Comments
I see the same Uncaught Invariant Violation being fired off hundreds of times after onClose when I move my mouse around the screen. |
嗯. 可能绑定在 window 上不是一个好的方式. 我考虑看怎么解决. |
Hi, I've got the same problem. EDIT: Youps, It was a live reload problem, sorry :) |
The problem appears when user clicks both mouse buttons at the same time. In this case
so on mouseup some listeners left and firing errors. |
hi,当拖动选择颜色时,如果拖到Board外会引发MouseUp丢失,导致window上的listener没有remove,组件Unmount之后再移动鼠标,pointMoveTo方法就会报错:
Uncaught Invariant Violation: findDOMNode was called on an unmounted component.
Windows下比较容易复现,Mac下不容易复现
尝试把事件绑在document上,会好很多但还是会有这个问题,现象是拖动时有卡顿,鼠标变成not-allowed
有什么方法可以解决这个问题吗?谢谢
The text was updated successfully, but these errors were encountered: