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

validateMagnet返回false的时候,从链接桩拉线出来会报错 #2318

Closed
dayangege opened this issue Jul 6, 2022 · 3 comments
Closed

Comments

@dayangege
Copy link

问题描述

很奇怪的是,如果先移动该节点,再从拉链接桩拉线,就不会报错了。但是拉链接桩会变成移动节点,也拉不出线来。

重现链接

重现步骤

validateMagnet return false
画布中拖入一个带链接桩的节点
从链接桩拉线

预期行为

node不应该被移动且不应该报错

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • X6 版本: [1.32.7 ... ]

屏幕截图或视频(可选)

image

补充说明(可选)

1.32.3版本不会报错,但是拉链接桩会移动节点。

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 6, 2022

👋 @dayangege

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@lloydzhou
Copy link
Contributor

刚刚按照步骤复现了一下这个bug
发现在1.32.3版本不报错。但是从1.32.4一直到1.32.7都报错。
所以能确定是在1.32.4版本引入的bug

另外期望节点不被拖走这个,应该在所有版本里面都会被拖走。

lloydzhou added a commit to lloydzhou/X6 that referenced this issue Jul 8, 2022
lloydzhou added a commit to lloydzhou/X6 that referenced this issue Jul 8, 2022
@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 10, 2023

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 Jul 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants