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

Closed
worthworld opened this issue Aug 8, 2023 · 1 comment · Fixed by #3878
Closed

触发连线时,线的起点位置偏离 BUG #3830

worthworld opened this issue Aug 8, 2023 · 1 comment · Fixed by #3878

Comments

@worthworld
Copy link

Describe the bug

注册自定义节点,点击 触发连线交互时,连线的起点位置偏离点击位置;
注:使用x6最新版本2.13.1时出现该bug,版本2.11.5 没有这个bug

Your Example Website or App

https://codesandbox.io/s/black-bush-t245jd?file=/src/shape.js:802-816

Steps to Reproduce the Bug or Issue

1、点击节点上具备 magnet=true 属性的元素,
2、拖拽,拉出连线

Expected behavior

作为用户,我期望拉出的连线起点在具备 magnet=true 属性的元素上,但我看到的时 连线的起点远离节点

Screenshots or Videos

9a5dc8fdf851ac10bd5ed6e99882d8d0

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 2.11.1]

Additional context

No response

@worthworld worthworld changed the title 触发连线时,线的起点位置偏离 触发连线时,线的起点位置偏离 BUG Aug 10, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 4, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Sep 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant