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]: 动态分组在进行缩放操作时 会经常失效 #2085

Open
zyb19900121 opened this issue Feb 26, 2025 · 0 comments · May be fixed by #2092
Open

[Bug Report]: 动态分组在进行缩放操作时 会经常失效 #2085

zyb19900121 opened this issue Feb 26, 2025 · 0 comments · May be fixed by #2092
Labels
bug Something isn't working

Comments

@zyb19900121
Copy link

zyb19900121 commented Feb 26, 2025

发生了什么?

动态分组在进行缩放操作时 会经常失效 最终发现如果是点击过分组节点之后进行缩放就没这个问题 但如果没点击分组节点就直接进行缩放 就会100%出现这个问题
官网的例子也很容易复现https://site.logic-flow.cn/tutorial/extension/dynamic-group

Image

logicflow/core版本

2.0.10

logicflow/extension版本

2.0.14

logicflow/engine版本

No response

浏览器&环境

Chrome

@zyb19900121 zyb19900121 added the bug Something isn't working label Feb 26, 2025
ZivvW added a commit to ZivvW/LogicFlow that referenced this issue Feb 27, 2025
当未选中节点时,节点的ResizeControl只有在hover时才启用,当快速缩放时,节点的大小可能会跟不上鼠标导致不在hover状态,组件被卸载,从而退出缩放
现在在onDragStart时,自动选中节点,使组件不被卸载

close didi#2085
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.

1 participant