antvis / antvis/Graphin

Grid组件会阻断鼠标右键菜单以及节点选中事件

Open
#524 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

使用Grid组件后ContextMenu Tooltip 等组件无法触发,node选中事件也无法触发,猜测为Grid组件层级遮住了画布;
![image](https://github.com/antvis/Graphin/assets/46487804/0cd7f13a-36c6-4cd9-82c5-7e45ea58ff96)

### Your Example Website or App

https://codesandbox.io/p/sandbox/frosty-tdd-7crc7f

### Steps to Reproduce the Bug or Issue

![image](https://github.com/antvis/Graphin/assets/46487804/f0b361e1-1e16-45e8-8185-6f8a94b94712)

### Expected behavior

触发对应组件与事件行为

### Screenshots or Videos

![image](https://github.com/antvis/Graphin/assets/46487804/b562e7d9-03cd-490c-93d5-866c6519973f)

### Platform

window10 chrome
![image](https://github.com/antvis/Graphin/assets/46487804/d7bba6db-34a1-4fe7-b297-9c32de4a8a71)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.