[Feature] (Tree In the tree diagram, how do I obtain the positions offsetX and offsetY offset by node A when I click node A) Tree树图,点开A节点时,如何获取到A偏移后的位置offsetX和offsetY
Open
en
new-feature
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
Tree 点开节点,被点的节点会自适应偏移一段距离,要使点击的节点做居中,单获取click事件的x和y不够准确,得获取偏移后的位置。
### What does the proposed API look like?
希望能有个后after事件,或者有什么方案能解决当前问题。
Contributor guide
Assessment
This issue has not been assessed yet.