antvis / antvis/X6

设置节点不可拖动,鼠标在某个节点按住,拖动到其他节点上方,所触发的事件对应的节点是第一个节点

Open
#3,994 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

设置节点不可拖动,鼠标在某个节点按住,拖动到其他节点上方,所触发的事件对应的节点是第一个节点

### 重现链接

### 重现步骤

设置节点不可拖动,鼠标在某个节点按住,拖动到其他节点上方,所触发的事件对应的节点是第一个节点

### 预期行为

期望能够按住拖动到不同节点上方获取到不同节点的信息

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox ...]
- X6 版本: [2.11.1 ...]

### 屏幕截图或视频(可选)

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in X6 with a non-draggable node, holding the pointer on one node and moving over another. Compare the event target or node information reported during movement, and consider the work complete when moving across nodes reports the node currently under the pointer.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.