antvis / G6

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

The application would be sutck after running graph.layout #6458

Open rmd1710714107 opened 3 weeks ago

rmd1710714107 commented 3 weeks ago

Describe the bug / 问题描述

  1. Run graph.layout()
  2. Open contextmenu
  3. The application would be stuck occasionly when open contextmenu again

Reproduction link / 重现链接

https://stackblitz.com/edit/vitejs-vite-nbjtbc?file=src%2Fcomponents%2FGraph.vue

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

Aarebecca commented 3 weeks ago

In G6 using native JS, this issue did not recur. You can consider checking whether it is caused by the Vue reactive API.