antvis/G6

updateLayout方法切换布局导致图位置跑偏 #4284

xiohao posted onGitHub

Describe the bug

image image image image 点击切换后图跑偏了

Your Example Website or App

Steps to Reproduce the Bug or Issue

111

Expected behavior

期望图更新在画布中间位置,使用this.graph.set('fitView', true)也无效

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

请问知道有什么解决办法吗


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests