Skip to content
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

[Bug Report]: 界面进行过缩放包括使用 lf.fitView() 后,拖动 DynamicGroup 后其内部的节点移动与 group 不同步 #1914

Closed
ZivvW opened this issue Oct 17, 2024 · 2 comments · Fixed by #1919
Labels
bug Something isn't working

Comments

@ZivvW
Copy link

ZivvW commented Oct 17, 2024

发生了什么?

发生了什么:进行过缩放后,拖动 DynamicGroup 后其内部的节点移动与 group 不同步;

期望:group内的节点和group同步移动;

gif: chrome-capture-2024-10-17

复现示例:在官网的demo上 点击放大/缩小,再把圆放到group里拖动group即可复现

经测试,使用 logicflow/extension 2.0.10 会出现这个问题,之前的版本是正常的

更新:一开始以为是 lf.fitView() 的问题,后续发现只要进行过缩放就会出现这个问题

logicflow/core版本

2.0.6

logicflow/extension版本

2.0.10

logicflow/engine版本

No response

浏览器&环境

Chrome

@ZivvW ZivvW added the bug Something isn't working label Oct 17, 2024
@wbccb
Copy link
Contributor

wbccb commented Oct 17, 2024

按照提交记录来看,logicflow/extension 2.0.9应该也有问题才对,logicflow/extension 2.0.9没问题吗?

@ZivvW
Copy link
Author

ZivvW commented Oct 18, 2024

按照提交记录来看,logicflow/extension 2.0.9应该也有问题才对,logicflow/extension 2.0.9没问题吗?

嗯,我用下面的版本测试发现没这个问题

"@logicflow/core": "^2.0.5",
"@logicflow/extension": "^2.0.9",

@ZivvW ZivvW changed the title [Bug Report]: 使用 lf.fitView() 后,拖动 DynamicGroup 后其内部的节点移动与 group 不同步 [Bug Report]: 界面进行过缩放包括使用 lf.fitView() 后,拖动 DynamicGroup 后其内部的节点移动与 group 不同步 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants