antvis/G6
Do you want to work on this issue?
You can request for a bounty in order to promote it!
[Bug]: After enabling the 'scroll-canvas' interaction and recalling graph.render(), the scrolling range was misaligned #6683
Paul-Petter posted onGitHub
Describe the bug / 问题描述
// 交互 behaviors: [ { type: 'scroll-canvas', key: 'scroll-canvas', direction: 'y', range: [1.2, 1, 1.4, 1], } ], // 初次渲染后,再次调用graph.render(),滚动范围出现错位
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
https://github.com/user-attachments/assets/d0d17c9a-223c-4ff5-b20b-2dad1f29cb15
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他