-
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
hideItem循环使用会蓝屏 #1483
Comments
写个在线 demo 看下 |
不太好写,代码在内网。什么情况下会导致蓝屏。(节点变成一块蓝色背景) |
应该不会的,没有遇到过这个问题。先把 G6 升级到最新版本(3.4.7),升级的时候注意一下:https://g6.antv.vision/zh/docs/manual/FAQ/upgradeGuide。 还有问题的话写最小复现的 demo 到 codepen.io 或者其他在线代码平台都可以。 |
找到了问题原因所在了: |
//补充下demo codepen.io太卡了 let data = { const width = document.getElementById('container').scrollWidth; |
另外补充下,我把render改成svg是没有这个问题的。但是svg性能太差,不想用,求帮忙解决下。 |
https://codepen.io/Yanyan-Wang/pen/ZEbKQNe 使用你的 demo 似乎没有复现 |
可以复现的,你先单机一个节点,然后在双击节点有时双击一次就会有,有时双击多次,然后30节点就变成蓝色方块了 |
经排查,已确定是底层渲染引擎的局部渲染问题,正在修复中。 |
多谢 |
可以先把局部渲染关掉临时解决这个问题: graph.get('canvas').set('localRefresh', false); 在实例化 graph 后调用。 |
This issue has been closed because it has been outdate for a long time. |
使用Fruchterman图布局的时候,循环使用hideItem时图区域蓝屏
The text was updated successfully, but these errors were encountered: