-
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
画布节点较多时,virtual开启,fromJSON,zoomToFit,centerContent同时调用会偶现连线丢失 #3926
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
在本地无法复现你的问题,最好还是搞个复现的 demo。此外 |
还发现一个问题,在项目中有多个流程图都开启了clipboard本地存储,但是我在A流程图复制后,在b粘贴就会有问题,因为节点类型不一样,甚至没有,有考虑添加clipboard 自定义存储key的功能吗? |
欢迎提 PR 呀。 |
我之前也偶发这个问题,后面我觉得是不是我改的东西多了导致的bug,就把virtual关了 |
virtual 是不是和小地图插件不兼容呢,小地图上展示不全 |
是不是这里的原因啊?我遇到的渲染丢失改了这个以后解决了。 这个函数不仅在 scheduler 内部调用,cell 属性更改的时候也会通过 cellview - renderer 调用,并且把原来设定的 X6/packages/x6/src/renderer/scheduler.ts Lines 92 to 107 in f4d1412
X6/packages/x6/src/view/cell.ts Line 277 in e18a0ce
|
Describe the bug
目前画布节点1000多个,virtual可视区域加载开启,在流程图初始进入时,fromJSON,zoomToFit和centerContent同时调用会偶现连线丢失问题,再就是render:done事件无效
Your Example Website or App
公司内部项目
Steps to Reproduce the Bug or Issue
1、画布节点1000多个,virtual可视区域加载开启
2、在流程图初始进入时,fromJSON,zoomToFit和centerContent同时调用
Expected behavior
大画布开启可视化区域加载后,希望同时调用fromJSON,zoomToFit和centerContent能正常渲染画布,不会出现连线丢失问题,或者是在batchUpdate批量更新中去同时执行这三个操作,画布正常渲染,连线无丢失
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: