didi / didi/LogicFlow

[Bug Report]: 1.2.18以上版本双击Edge位置不是文本位置

Open
#1,589 0 comments 0 reactions 0 assignees View on GitHub
status: todo type:bug type:feature-require
Dominant language
TypeScript
Stars
11.7k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

### 发生了什么?

按文档说是的双击Edge位置就是文本位置,但在1.2.18以上并没有,降级到1.2.18正常
![0958910bd254ba6675ccdd57989a4e5e](https://github.com/didi/LogicFlow/assets/30310735/3b2f8f73-109e-4190-84a5-2108c5209180)
有问题示例:https://examples.logic-flow.cn/demo/dist/examples/#/usage/approve?from=doc
没有问题示例:https://codesandbox.io/p/sandbox/awesome-field-5cx2wr?file=%2FApp.tsx%3A11%2C23
分别看了示例代码的@logicflow/core版本是不同的,并在自己项目安装了多个版本,发现1.2.18以上有问题

### logicflow/core版本

1.2.26

### logicflow/extension版本

1.2.26

### 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.