We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
缩小画布后再多次点击fitView和fitCenter得不到想要的效果,节点元素会飞出画布外面
https://stackblitz.com/edit/react-t3qewq?file=index.js
1:使用鼠标缩小画布2次 2:点击fitCenter2次 3:点击fitView1次 4:点击fitCenter1次,无效果。
另外也缩放后随机点击fitCenter和fitView测试效果
🆕 5.x
Windows
Firefox
No response
The text was updated successfully, but these errors were encountered:
初步分析应该是视口动画导致异常
Sorry, something went wrong.
No branches or pull requests
Describe the bug / 问题描述
缩小画布后再多次点击fitView和fitCenter得不到想要的效果,节点元素会飞出画布外面
Reproduction link / 重现链接
https://stackblitz.com/edit/react-t3qewq?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
1:使用鼠标缩小画布2次
2:点击fitCenter2次
3:点击fitView1次
4:点击fitCenter1次,无效果。
另外也缩放后随机点击fitCenter和fitView测试效果
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Firefox
Additional context / 补充说明
No response
The text was updated successfully, but these errors were encountered: