X6 icon indicating copy to clipboard operation
X6 copied to clipboard

在某些配置下,当同时选中节点和边后,移动时边会发生变化

Open georgezhu08 opened this issue 3 years ago • 1 comments

Describe the bug

在某些配置下,当同时选中节点和边时,移动时被选中的边会发生变化。

Your Example Website or App

https://codesandbox.io/s/select-edge-forked-tyyqq4

Steps to Reproduce the Bug or Issue

  1. 框选所有的节点和边;
  2. 移动右侧被选中的节点,在移动过程中可以看到边发生变化;而移动左侧的节点则边不会发生变化。

Expected behavior

在移动位置时,节点和边本身都不应该发生任何变化。

Screenshots or Videos

https://user-images.githubusercontent.com/14782/163761866-3fb8d4fb-e8e7-4d2a-8e89-ebdac9277b7c.mp4

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: 100.0.4896.88

Additional context

No response

georgezhu08 avatar Apr 18 '22 05:04 georgezhu08

多次试验后发现,只有鼠标点击在选中边的范围内移动时,才会出现边变形,鼠标在选中边外面区域按住拖动时,不会引起边变形。

georgezhu08 avatar Apr 18 '22 06:04 georgezhu08