You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the .el-tree-node__content is default height, this works as expected and disallows drops between nodes. If you give .el-tree-node__content class 48px height, margin, or padding (whatever increase the overall height of the tree node), it allows drops between nodes and sometimes will drop in the wrong place if you do try to drop between nodes.
What is Expected?
allowDrop will perform as expected regardless of .el-tree-node__content height.
What is actually happening?
el-tree is allowing nodes to be dropped even though allowDrop is returning false.
The text was updated successfully, but these errors were encountered:
Element UI version
2.4.1
OS/Browsers version
Windows 10/ Chrome 67
Vue version
2.5.16
Reproduction Link
https://codepen.io/yancyknight/pen/VdzyBr
Steps to reproduce
When the .el-tree-node__content is default height, this works as expected and disallows drops between nodes. If you give .el-tree-node__content class 48px height, margin, or padding (whatever increase the overall height of the tree node), it allows drops between nodes and sometimes will drop in the wrong place if you do try to drop between nodes.
What is Expected?
allowDrop will perform as expected regardless of .el-tree-node__content height.
What is actually happening?
el-tree is allowing nodes to be dropped even though allowDrop is returning false.
The text was updated successfully, but these errors were encountered: