antvis/G6



The issue has been closed
新版tofront()在additem后失效 #5110
8888yhx posted onGitHub
Describe the bug
发现新版本设置了tofront 在additem新增节点后失效 ,4.6.12版本是可以的
Your Example Website or App
https://codesandbox.io/s/laughing-grass-m9cdh7?file=/src/index.js
Steps to Reproduce the Bug or Issue
1、 mouseover combo1,combo1会到combo2上面; 2、切换选择器到addNode模式,新增一个node,发现combo1又被combo2覆盖了
Expected behavior
希望mouseover combo1后 combo1,combo2的层次关系保持不变
Screenshots or Videos
https://github.com/antvis/G6/assets/130620276/0b1d997c-0932-4e66-9c81-17845946cb0c
Platform
- OS: [e.g. macOS
- Browser: Chrome
- Version: 4.8.23
Additional context
No response