antvis/G6

【V5】5.0.11 设置 drag-element + drag-canvas 后,拖动节点画布也会被拖动了 #6124

MusicTen posted onGitHub

Describe the bug / 问题描述

设置 behaviors: ['drag-element', 'drag-canvas'] 后,拖动节点,会触发画布的拖动事件了

https://stackblitz.com/edit/react-7kfztw?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

  1. 设置 drag-element + drag-canvas 两个 behavior
  2. 拖动节点
  3. 画布也被拖动

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


Fund this Issue

$0.00
Funded

Pull requests