Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: After enabling the 'scroll-canvas' interaction and recalling graph.render(), the scrolling range was misaligned #6683

Open
3 of 10 tasks
Paul-Petter opened this issue Dec 31, 2024 · 0 comments
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer

Comments

@Paul-Petter
Copy link

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 / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
@Paul-Petter Paul-Petter added the status: waiting for maintainer These issues have not yet been reviewed by a maintainer label Dec 31, 2024
@github-actions github-actions bot changed the title [Bug]: 启用'scroll-canvas'交互,重新调用graph.render()后,滚动范围出现错位 [Bug]: After enabling the 'scroll-canvas' interaction and recalling graph.render(), the scrolling range was misaligned Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant