-
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
minimap开启状态下,节点展开页面卡死。 #3462
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
首先感谢你的提问,我想了解更多的信息,比如:
|
前几天在官网的demo里就可以复现,代码:minimap: { enabled:true }, 用的展开/折叠树那个例子;不过现在用这个例子复现不出来了,启动minimap后,graph.model.liseners监听器l列表看起来变正常了,由于官网调试看不到版本信息,不清楚是是不是在新版本里面修好了;我本地1.x的版本一直可以复现的。 |
如果是 1.x 版本,建议将 minimap 的 graphOptions.async 设置为 true。 |
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. |
Describe the bug
minimap设置为true的情况下,节点展开:node.toggleVisible(false);会导致页面卡死;minimap的graph和主graph在这个情况下没做区分。
Your Example Website or App
sjoshua@yeah.net
Steps to Reproduce the Bug or Issue
1.minimap设置为true
2.调用node.toggleVisible展开节点
Expected behavior
是否有minimap不应该对主graph造成影响
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: