Bug Type: Component
Environment
- Vue Version:
3.3.4
- Element Plus Version:
2.3.8
- Browser / OS:
Chrome114.0.5735.198/MacOS13.3.1
- Build Tool:
Vite
Reproduction
Related Component
el-tree
Reproduction Link
Docs
Steps to reproduce
3-2-1向上拖动, 在3-1和3-1-1之间有两个放置位置, 靠上的位置会将节点放到与3-1, 3-2同级而不是与3-1-1同级
What is Expected?
3-2-1成为3-1的子节点, 在3-1-1上方
What is actually happening?
3-2-1与3-1/3-2同级
3条答案
按热度按时间z3yyvxxp1#
I think it's reasonable to drop
3-2-1
to the closer node.llmtgqce2#
while it's not reasonable to drop 3-2-1 under 3-1-1 when i drag it close to 3-1, it seems you drop it closer to 3-2 rather than 3-1
QQ20230727-091310-HD.mp4
laximzn53#
while it's not reasonable to drop 3-2-1 under 3-1-1 when i drag it close to 3-1, it seems you drop it closer to 3-2 rather than 3-1
Okay, I've got your point. It does look counterintuitive.