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

两个可变形的group嵌套,背景grid设置为true以后,group拖拽变形结束以后,他会自动在移动几个像素,[Bug Report]: 或者group里面嵌套一个可变性(Resize)的其他控件都行,拖拽以后都会自动在移动,类似对齐功能 #1546

Open
DavisGYF opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DavisGYF
Copy link

DavisGYF commented Apr 2, 2024

发生了什么?

特别是我在做永道,里面的group可能是多个改变大小以后,会自己在变动几个像素,影响我整体布局,导致错乱,
image
sha上看图片是我用官方group例子,把custom-item该成另外一个group,就可以复现

logicflow/core版本

ex.1.2.18

logicflow/extension版本

ex.1.2.19

logicflow/engine版本

No response

浏览器&环境

Chrome

@DavisGYF DavisGYF added the bug Something isn't working label Apr 2, 2024
@DavisGYF DavisGYF changed the title 两个可变形的group嵌套,背景grid设置为true以后,group拖拽变形结束以后,他会自动在移动几个像素,[Bug Report]: 两个可变形的group嵌套,背景grid设置为true以后,group拖拽变形结束以后,他会自动在移动几个像素,[Bug Report]: 或者group里面嵌套一个可变性(Resize)的其他控件都行,拖拽以后都会自动在移动,类似对齐功能 Apr 2, 2024
@DavisGYF
Copy link
Author

DavisGYF commented Apr 2, 2024

这个跟grid是否为true关系不大,
其实grid为false的话,变形结束松开鼠标的时候仔细观察也是会有一点儿位移,只不过位移比较小,所以看的不明显,但是这个有的时候就会影响我的泳道图,因为我做的功能里面有多个可变形的group,一个改变会影响其他,所以多次拖拽,有的时候就会有bug
grid为true的话size默认是20位移比较明显,好像就是这个size你设置的越大,位移越明显。

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

No branches or pull requests

1 participant