antvis / antvis/G6

[Bug]: Node click events not fired and causes screen crash in Nuxt.js app

Open
#7,377 1 comment 0 reactions 0 assignees View on GitHub
question 💬
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

I built a simple interactive graph visualization that works well in React.js, but it doesn’t work in Nuxt.js because node click events are not fired and subsequent click events cause the Nuxt.js app to crash.

### Reproduction link / 复现链接

https://github.com/dianaow/ANTVG6-NUXT

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

1. Clone github repo
2. npm install
3. npm run dev
4. open url on browser and click on any node

(Sorry, nuxt.js starter on stackblitz is faulty and codesandbox doesn't have a nuxt.js environment)

### Version / 版本

🆕 5.x

### OS / 操作系统

- [x] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reproduction repository at https://github.com/dianaow/ANTVG6-NUXT: run npm install, npm run dev, open the app, and click a node in Chrome. Trace the Nuxt.js integration and node event handling; done means node click events fire reliably and subsequent clicks no longer crash the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.