ElemeFE / ElemeFE/element

[Bug Report] draggable cannot get indexOf items

Open
#19,897 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
Windows / Chrome 84

### Vue version
2.5.17

### Reproduction Link
https://jsfiddle.net/robertnicjoo/fpt5aqyu/5/

### Steps to reproduce
Elements can't be dragged due to `allowDrag` function which can't get items index number.

### What is Expected?
Ability to drag items regardless of their position (i.e parent can be move to be children of other items, or children be moved as other parents child etc. `free to move items`)

### What is actually happening?
items can't be moved

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.