antvis / antvis/G6

[Bug]: WebGL渲染 无法触发 NodeEvent.CLICK 事件

Open
#7,589 3 comments 0 reactions 0 assignees View on GitHub
bug 🐛
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

默认的canvas 和 svg渲染可以触发,WebGL无法触发
使用版本如下:

> "@antv/g6": "5.0.51",
> "@antv/g-webgl": "2.1.1",
> "@antv/g-svg": "2.1.1"

### Reproduction link / 复现链接

_No response_

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

_No response_

### Version / 版本

Please select / 请选择

### 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 by reproducing the missing NodeEvent.CLICK behavior with @antv/g6 5.0.51, @antv/g-webgl 2.1.1, and @antv/g-svg 2.1.1 in Chrome on macOS. The issue provides no reproduction link or steps; done means WebGL rendering triggers NodeEvent.CLICK as the default canvas and SVG renderers do.

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.