apache / apache/echarts

[Bug] graphic group draggable does not triggle ondrop events

Open
#20,805 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.6.0

### Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/apache-echarts-demo-forked-h96pqs

### Steps to Reproduce

![Image](https://github.com/user-attachments/assets/5895dafe-27e3-484f-9e15-d73deb992500)

### Current Behavior

drag to rect1 ,does not trigger ondrop event,white i bind draggable:true to rect2 instead of group1 ,it triggers fine

### Expected Behavior

drag group1 to rect1, ondrop can be triggered

### Environment

```markdown
- OS:windows 11
- Browser: chrome 133.0.6943.142
- Framework: nuxt3
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox minimal reproduction using ECharts 5.6.0 and compare dragging group1 with dragging rect2, where the ondrop event reportedly works. Confirm the expected result by making a drop on rect1 trigger ondrop for the draggable group; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.