画布在无限缩放和滚动轴两种模式下,引入小地图插件,表现不一致。
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
版本号:
"@antv/x6": "^2.3.0"
"@antv/x6-plugin-minimap": "^2.0.2"
画布在滚动轴这种模式下,小地图展示正常。
画布在无限缩放模式下,小地图展示异常,基本用不了。
### Your Example Website or App
暂无
### Steps to Reproduce the Bug or Issue
1.2.3.4.5.
### Expected behavior
期待效果:
在画布无限缩放的模式下,小地图可以正常缩放拖动显示。
### Screenshots or Videos
。
### Platform
windows
### Additional context
_No response_
Contributor guide
Research direction
Start by building a minimal reproduction with @antv/x6 ^2.3.0 and @antv/x6-plugin-minimap ^2.0.2, comparing scrollbar mode with infinite-zoom mode on Windows. Verify how the minimap behaves while zooming and dragging in both modes; done means the infinite-zoom view scales and pans consistently with the scrollbar-mode behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100