Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
donhonli opened this issue Nov 29, 2024 · 0 comments
Open
1 task done

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

donhonli opened this issue Nov 29, 2024 · 0 comments

Comments

@donhonli
Copy link

donhonli commented Nov 29, 2024

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant