antvis/G6
The issue has been closed
【V5】5.0.11 设置 drag-element + drag-canvas 后,拖动节点画布也会被拖动了 #6124
MusicTen posted onGitHub
Describe the bug / 问题描述
设置 behaviors: ['drag-element', 'drag-canvas']
后,拖动节点,会触发画布的拖动事件了
Reproduction link / 重现链接
https://stackblitz.com/edit/react-7kfztw?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
- 设置 drag-element + drag-canvas 两个 behavior
- 拖动节点
- 画布也被拖动
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response