antvis / antvis/Graphin

当 Graphin组件在ConfigProvider下时,无法响应任何鼠标操作

Open
#520 0 comments 0 reactions 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

当同时引用 Antd和 Graphin 时,最上层使用 ConfigProvider 包裹后,Graphin无法响应任何鼠标操作。包括缩放,拖动,点击等

### Your Example Website or App

https://codesandbox.io/p/sandbox/blissful-turing-95v2y9

### Steps to Reproduce the Bug or Issue

点击、缩放、拖动都无法响应

### Expected behavior

Graphin能够根据鼠标的做出反应

### Screenshots or Videos

_No response_

### Platform

- OS: [macOS]
- Browser: [Chrome]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue using the linked CodeSandbox with Antd's ConfigProvider wrapping the Graphin component. Test clicking, zooming, and dragging in the macOS Chrome setup described, then trace the integration behavior until Graphin responds to those mouse actions without removing ConfigProvider.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.