ElemeFE / ElemeFE/element

[feature request] drag a row of the table to the El tree tree node, and the drop event cannot be triggered

Open
#21,321 2 comments 0 reactions 0 assignees View on GitHub
component: tree type: feature request
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
el-tree el-table

### Description
将table表格某一行向el-tree 树形节点上拖拽,不能触发drop 事件 . 树形上的允许拖拽已启用 。 且::allow-drag="()=>{return false}" :allow-drop="()=>{return true}"
![image](https://user-images.githubusercontent.com/24405904/133367278-cb5f70c9-c551-4d14-86ec-6dc3ef3ad39f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported drag from an el-table row onto an el-tree node with the stated allow-drag and allow-drop settings. Trace the drag-and-drop handling for both components and verify whether the tree's drop event is reached. Done means the cross-component drop reliably triggers the expected event.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.