-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
绑定事件未解绑问题,导致操作过多事卡顿 #3930
Comments
15 tasks
升级到 1.35.0。 |
我是用的2.0的啊,我的x6-plugin-transform是用的2.1.7 |
@bighhhh 2.x 也修改了 等待版本发布哈。 |
好的,谢谢 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
目前发现transform.js中startListening()方法绑定的事件为解绑,所以在选中节点然后点击空白处取消选中,重复以上操作就会绑定非常多的事件,导致越操作越卡顿,当刷新页面后虽然画布节点完全一致时也会变的非常流畅,目前只查看了这一个插件的事件绑定问题,其他插件是否有同样问题不确定
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
可以查看我发送的断点图片,反复选中节点取消选中后,事件列表中的时间数量是不断增长的,而且我在transform.js的update中打了日志断点后,日志输出数量也会跟随事件数量不断增多,导致重复调用,而stopListening()函数却从来没调用过
Expected behavior
取消选中后解除事件绑定
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: