Skip to content

Tree组件节点往外层拖拽时的交互需求 #7959

@donhonli

Description

@donhonli
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

背景:Tree组件开启draggble模式, 其中一个父节点A 存在多个子节点, 其中一个子节点想要拖拽到外层跟父节点A同级,且在其下方
目前的交互方式是,先将该子节点往下方拖拽至最后一个”兄弟节点“下方,并往左移动一定距离,才会展示”辅助线“,并完成拖拽
问题: 如果”兄弟“节点过多,需要往下拖拽一定的距离,用户体验不是很好
需求:为了追求极致体验, 希望子节点需要拖拽至外层时(跟父节点同级),原地往左移动时 可以展示相应”辅助线“ ,并触发drop事件

What does the proposed API look like?

无需新增api

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions