node:dragleave事件在节点内drag时频繁触发
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
打开demo,按住一个节点0.8秒。然后拖拽到另一个节点上移动,就能复现,会频繁触发dragleave
### 重现链接
https://codesandbox.io/p/devbox/drga-node-sort-m4y5cl
### 重现步骤
打开demo,按住一个节点0.8秒。然后拖拽到另一个节点上移动,就能复现,会频繁触发dragleave
### 预期行为
拖出节点时只触发一次
### 平台
- 操作系统: Windows
- 网页浏览器:Chrome
- G6 版本: 4.8.21
### 屏幕截图或视频(可选)

_No response_
### 补充说明(可选)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the linked CodeSandbox with G6 4.8.21 on Windows and Chrome: hold a node for 0.8 seconds, then drag over another node. Trace the node drag event handling for repeated dragleave events; done means leaving a node triggers dragleave only once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100