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

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 / 其他

目前在 antvis/G6 的 GitHub 仓库中,已经有一个与您描述的问题相同的 issue,即 Issue #6811。您可以在此 链接 查看该问题的详细信息和后续更新。

如果您有更多的信息或想法,也可以在该 issue 下进行评论和讨论。

<details> <summary>🪧 Tips</summary> For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. </details>

posted by petercat-assistant[bot] about 2 months ago

<img width="378" alt="Image" src="https://github.com/user-attachments/assets/51cb02d9-ed79-4a20-be03-56b6e4ca646a" />

旧版本minimap监听了这么多事件,为什么新版的全删了?有测试过吗?

posted by ZTao-z about 2 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests