antvis / antvis/G6

[Bug]: G6 5.x版本,官网的minmap示例中,画布与minimap遮罩选中区域不一致

Open
#7,667 1 comment 0 reactions 0 assignees View on GitHub
waiting for maintainer
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

G6 5.1.x版本,官网的minmap示例中,画布与minimap遮罩选中区域不一致

### Reproduction link / 复现链接

https://g6.antv.antgroup.com/manual/plugin/minimap

### Steps to Reproduce the Bug or Issue / 重现步骤

1.minimap示例,放大画布并拖动到画布边缘使得minimap的遮罩尺寸最小和小地图边缘几乎重合
2.拖动遮罩,可以看到画布中展示节点和遮罩所覆盖范围不一致

### Version / 版本

🆕 5.x

### OS / 操作系统

- [ ] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in the linked minimap example: zoom the canvas, move it to an edge, and drag the minimap mask. Compare the canvas viewport with the mask coverage; done when the displayed nodes and selected mask region remain aligned at the canvas edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.