antvis/G6




The issue has been closed
调用节点的hide方法后,再使用fitview,剩余节点没有居中 #4872
XiaoRIGE posted onGitHub
Describe the bug
点击dom,调用节点的hide方法,然后使用fitview,节点位置向右偏移
Your Example Website or App
Steps to Reproduce the Bug or Issue
1.调用hide 2.调用fitview 3.剩余节点没有居中
Expected behavior
期待调用fitview后剩余节点能够实现居中效果
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response