Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The minimap plugin will be offset in the scene of repeated layout and fitView #6811

Open
3 of 10 tasks
ZTao-z opened this issue Feb 27, 2025 · 2 comments
Open
3 of 10 tasks
Labels
bug 🐛 Something isn't working

Comments

@ZTao-z
Copy link

ZTao-z commented Feb 27, 2025

Describe the bug / 问题描述

bug.mp4

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 / 其他
@ZTao-z ZTao-z added the waiting for maintainer Triage or intervention needed from a maintainer. label Feb 27, 2025
@github-actions github-actions bot changed the title [Bug]: minimap插件在重复布局和fitView的场景下会发生偏移 [Bug]: The minimap plugin will be offset in the scene of repeated layout and fitView Feb 27, 2025
Copy link

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

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

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

@ZTao-z
Copy link
Author

ZTao-z commented Feb 27, 2025

Image

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

@zhongyunWan zhongyunWan added bug 🐛 Something isn't working and removed waiting for maintainer Triage or intervention needed from a maintainer. labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants