antvis/G6

node节点动态添加icon后,node拖拽功能失效 #5418

super-bobo posted onGitHub

问题描述

node节点动态添加icon属性后,鼠标移到icon上进行拖拽操作,不起作用了

重现链接

https://codesandbox.io/p/sandbox/thirsty-lehmann-c7g43y?file=%2Findex.js%3A93%2C17

重现步骤

1.进入页面 2.等待三秒(有一个定时器,三秒后node节点会添加icon属性),鼠标移动node的icon上进行拖拽,node拖拽不了

预期行为

鼠标移动node的icon上进行拖拽,照常能起作用

平台

  • 操作系统: [macOS]
  • 网页浏览器: [Google Chrome]
  • G6 版本: [4.8.24]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


同问

posted by ysisrich 6 months ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 6 months ago

Fund this Issue

$0.00
Funded

Pull requests