didi / didi/LogicFlow

[Bug Report]: 设置 grid.size 后, 画布拖拽效果与预期不符

Open
#1,913 0 comments 0 reactions 1 assignee Claimed by @ChangeSuger View on GitHub
resolution: wontfix
Dominant language
TypeScript
Stars
11.7k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

### 发生了什么?

这个问题有人提过, 但是他没表达清楚 #1624

拖拽效果看起来像是只有元素在动, 而画布没有动, 会误让人以为组件位置改变了:
![动画](https://github.com/user-attachments/assets/ab81f01a-462f-49a5-976c-9707ce48b893)

建议画布直接一像素一像素的拖拽, 不要遵循 grid.size 的值

### logicflow/core版本

2.0.6

### logicflow/extension版本

2.0.10

### logicflow/engine版本

_No response_

### 浏览器&环境

Chrome

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.