-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
导出的相关问题 #4285
Comments
👋 @Makaite Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
还有就是,如果在节点中设置了外部图片,导出后的图片是不会自动添加在导出的图片上的,需要通过一些处理才可以 |
这里有记录图片导出问题:https://www.yuque.com/sxd_panda/antv/x6 |
1、加一个rect做画布边框,就可以了 |
Describe the bug
1、导出图片时,使用相关参数的默认参数,自动获取画布大小,导出后的图片内容会有确实,截取不完整
2、导出图片时,画布会出现一个闪动效果,有时闪动会立即恢复正常画布内容,有时会变为空白,需要鼠标主动点击一次画布才可以恢复画布的内容
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
1、完成一个流程图的配置
2、设置一个按钮,调用导出的相关api,toSVG/toPN/toJPEG/exportSVG/exportPNG/exportJPEG等
3、观察页面会出现闪动效果
4、如果没有另外处理相关样式问题,导出的图片会缺失部分内容,截图不完整
Expected behavior
是否可以做到导出时不要出现页面闪动,导出的图片至少是完整的
Screenshots or Videos
无
Platform
windows
Chrome
2.11.1
Additional context
无
The text was updated successfully, but these errors were encountered: