-
Notifications
You must be signed in to change notification settings - Fork 504
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
拖拽编辑节点卡顿 #404
Comments
最小代码复现上面的bug 当graphInstance.setEditingNodes([nodeObject])的时候 有大佬知道具体的原因吗
界面代码
|
我目前还没发现这个现象,可能我用的几台电脑配置都不错,改天我找一个配置一般的电脑试试。 |
我年前用的2.2.10版本也是卡顿 跟电脑配置没关系 非常明显的bug // 2、graphInstance.setEditingNodes([nodeObject]); 会卡顿 初步判断是下面这段代码的问题
draggingSelectedNodes方法最终会调用
在react环境这里会有两次_dataUpdated 去掉其中任意一次就不卡顿了 |
直接运行官方demo (https://www.relation-graph.com/#/demo/react?id=gee-node-resize) 版本2.2.6
当节点是编辑状态的时候 拖拽特别卡顿
当节点是非编辑状态的时候 拖拽非常丝滑
default.mov
The text was updated successfully, but these errors were encountered: