滚动画布插件Scroller在开启网格gird的状态下,会导致网格错位,不使用scroller则正常
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
滚动画布插件Scroller在开启网格gird的状态下,会导致网格错位,不使用scroller则正常

### Your Example Website or App
https://x6.antv.antgroup.com/tutorial/plugins/scroller
### Steps to Reproduce the Bug or Issue
1. 开启graph.grid
2. 使用scroller插件
3. 放上任意矩形,缩放滚动画布
### Expected behavior
希望正常对齐
### Screenshots or Videos
_No response_
### Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 2.11.1]
### Additional context
_No response_
Contributor guide
Research direction
Open the Scroller plugin example at https://x6.antv.antgroup.com/tutorial/plugins/scroller and reproduce the issue by enabling graph.grid, adding a rectangle, and zooming or scrolling the canvas. Done means the grid remains correctly aligned with the rectangle while Scroller is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100