antvis / G6

♾ A Graph Visualization Framework in JavaScript.
https://g6.antv.antgroup.com/
MIT License
11.03k stars 1.31k forks source link

[v5] behaviors [collapse-expand] 报错 #5951

Closed liseri closed 2 months ago

liseri commented 2 months ago

Describe the bug / 问题描述

  1. 图表示例:https://g6-next.antv.antgroup.com/zh/examples/layout/dagre/#antv-dagre-combo
  2. 版本:v5
  3. 问题描述:示子中增加 behaviors [collapse-expand] ,双击A combo时 报错,如下图:

image

Reproduction link / 重现链接

https://g6-next.antv.antgroup.com/zh/examples/layout/dagre/#antv-dagre-combo

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

  1. 代码中添加 behaviors [collapse-expand]
  2. 双击 A combo
  3. 报错

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

Aarebecca commented 2 months ago

问题原因已定位,会尽快修复