Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hsbtr opened this issue Dec 13, 2023 · 1 comment
Open

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

hsbtr opened this issue Dec 13, 2023 · 1 comment

Comments

@hsbtr
Copy link

hsbtr commented Dec 13, 2023

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

@CJY0208
Copy link

CJY0208 commented Feb 20, 2024

可以修一下样式

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants