Graphin icon indicating copy to clipboard operation
Graphin copied to clipboard

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

Open hsbtr opened this issue 2 years ago • 1 comments

Describe the bug

使用Grid组件后ContextMenu Tooltip 等组件无法触发,node选中事件也无法触发,猜测为Grid组件层级遮住了画布; image

Your Example Website or App

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

Steps to Reproduce the Bug or Issue

image

Expected behavior

触发对应组件与事件行为

Screenshots or Videos

image

Platform

window10 chrome image

Additional context

No response

hsbtr avatar Dec 13 '23 09:12 hsbtr

可以修一下样式

.g6-grid-container {
    pointer-events: none;
}

CJY0208 avatar Feb 20 '24 08:02 CJY0208