-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
【V5】事件处理陷入无限循环,导致页面假死 #5964
Comments
反馈的问题在 G6 中有所体现吗 |
有的,我之前试过用最小代码来复现,但一直没成功... |
麻烦提供一个复现 demo 呢 |
CodeSandbox:https://codesandbox.io/p/devbox/g6-demo-vue3-9w9pjz 预览地址:https://9w9pjz-5173.csb.app 问题应该是使用了 |
问题出现在底层渲染引擎的事件系统,可能需要到对应的仓库提下 issue:https://github.com/antvis/g |
transfer to: antvis/G#1725 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
事件处理代码见:https://github.com/antvis/G/blob/ffdef423496adc3b663f9fa3eb70da53d76931d0/packages/g-lite/src/services/EventService.ts#L386-L400
如果
leaveEvent.target
不是Node,就会导致一直在循环The text was updated successfully, but these errors were encountered: