antvis/G6

使用toFullDataURL和toDataURL定时生成图片,当浏览器tab页在当前页是生成的图片正常,切换到浏览器其他tab页则生成的图片空白 #3310

lavenderMF posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://github.com/antvis/G6/blob/master/packages/pc/src/graph/graph.ts#L248

Steps to reproduce

使用toFullDataURL和toDataURL定时生成图片,当浏览器tab页在当前页是生成的图片正常,切换到浏览器其他tab页则生成的图片空白

Environment Info
g6 4.4.1
System win
Browser chrome

还未确认是否是canvas生成的问题还是G6有做相关处理导致 image

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


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] over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests