antvis/G6

在 node:drop 或 drop 事件中执行 removeItem 报错 #5278

Alex0zeng posted onGitHub

G6 版本

4.x

问题描述

v4.8.23版本中在node:drop 或 drop事件回调中执行graph.removeItem 报错,重现链接是在其他issuer中看到的类似问题的重现

重现链接

https://codesandbox.io/p/sandbox/g6-tuo-zhuai-shan-chu-forked-5bi7eb?file=%2Findex.html%3A89%2C29

重现步骤

将节点拖入另一个节点中后在触发的事件回调node:drop 或drop中执行graph.removeItem删除操作

预期行为

可以正常删除被拖入的节点

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]
  • G6 版本: [v4.8.23 ]

屏幕截图或视频(可选)

image

补充说明(可选)

No response


hi @Alex0zeng, welcome!

posted by github-actions[bot] over 1 year ago

Hi @Alex0zeng, Please star this repo if you find it useful! Thanks :star:! 你好 @Alex0zeng。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year 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] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests