X6
X6 copied to clipboard
选择多个的时候 移动单个节点整体会移动
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
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.
加上 pointerEvents:none
其实就不是移动选框了,而是直接操作节点,效果是正确的。
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.