antvis/G6




The issue has been closed
@antv/g6@beta版本下,拖拽、滚动或缩放画布时,node.getBBox没有变化 #5125
k644606347 posted onGitHub
Describe the bug
在@antv/g6@5.0.0-beta.27版本下,
拖拽、滚动或缩放画布时,node.getBBox没有变化
<img width="718" alt="image" src="https://github.com/antvis/G6/assets/6951527/4608fe76-f319-4aa8-9842-407366d22c05">
这会导致调用getBBox的程序异常,辛苦看下。
Your Example Website or App
https://codesandbox.io/s/test-item-bbox-lldf2l?file=/index.js
Steps to Reproduce the Bug or Issue
https://codesandbox.io/s/test-item-bbox-lldf2l?file=/index.js
Expected behavior
我记得v4里的node.getBBox
会随画布移动而变化,请看下v5这里实现是否有bug
Screenshots or Videos
No response
Platform
- OS: [macOS]
- Browser: [Chrome]
- Version: [119]
Additional context
No response