antvis/G6


Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: The minimap plugin will be offset in the scene of repeated layout and fitView #6811
ZTao-z posted onGitHub
Describe the bug / 问题描述
https://github.com/user-attachments/assets/1791d7a7-b210-4746-9608-86284cf1c064
Reproduction link / 复现链接
https://codesandbox.io/p/sandbox/flhjkp
Steps to Reproduce the Bug or Issue / 重现步骤
官网demo可复现,在mindmap布局下重复调用layout和fitView函数,会导致minimap渲染偏移
Version / 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他