[Bug]: After enabling the 'scroll-canvas' interaction and recalling graph.render(), the scrolling range was misaligned #6683
Labels
status: waiting for maintainer
These issues have not yet been reviewed by a maintainer
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 / 重现步骤
QQ.20241231175622.mp4
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: