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

连接器jumpover导致的连线bug #4139

Open
cuidong626 opened this issue Jan 8, 2024 · 2 comments
Open

连接器jumpover导致的连线bug #4139

cuidong626 opened this issue Jan 8, 2024 · 2 comments
Labels
type: bug 缺陷 Defects and unexpected behaviors

Comments

@cuidong626
Copy link
Contributor

问题描述

官方demo, 连接器采用jumpover,当拖动箭头到空白区域,然后松开,线路连接会自动去连坐标0,0的点
1704698106816

重现链接

https://codesandbox.io/p/sandbox/kind-tristan-6mvwt3

重现步骤

拖动箭头到空白区域,然后松开箭头
image
1704698106816

预期行为

无此问题

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@cuidong626
Copy link
Contributor Author

jumpover触发时,sourceView没值导致坐标指向(0,0)

@cuidong626
Copy link
Contributor Author

应该是这个地方update执行早于updateTerminalProperties函数,导致sourceView是null的情况。
image

@NewByVector NewByVector added the type: bug 缺陷 Defects and unexpected behaviors label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 缺陷 Defects and unexpected behaviors
Projects
None yet
Development

No branches or pull requests

2 participants