X6 icon indicating copy to clipboard operation
X6 copied to clipboard

选择多个的时候 移动单个节点整体会移动

Open meikang123 opened this issue 2 years ago • 1 comments

Describe the bug

movable: false, showNodeSelectionBox: true, pointerEvents: 'none'

movable这个必须有这个showNodeSelectionBox才能移动单个节点,但是pointerEvents加上这个 就不起作用了

Your Example Website or App

https://codesandbox.io/s/k3f7cp?file=/src/app.tsx

Steps to Reproduce the Bug or Issue

Expected behavior

可以单独移动节点

Screenshots or Videos

No response

Platform

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

Additional context

No response

meikang123 avatar Jun 08 '22 04:06 meikang123

👋 @meikang123

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.

x6-bot[bot] avatar Jun 08 '22 04:06 x6-bot[bot]

加上 pointerEvents:none 其实就不是移动选框了,而是直接操作节点,效果是正确的。

NewByVector avatar Jan 30 '23 07:01 NewByVector

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[bot] avatar Jan 31 '24 01:01 x6-bot[bot]