diff --git a/src/helpers/utility.js b/src/helpers/utility.js index 4b4fcfe3a..8bf34c8fa 100644 --- a/src/helpers/utility.js +++ b/src/helpers/utility.js @@ -298,6 +298,9 @@ export function copySVGImage( if (height && typeof svgElement.setAttribute) { svgElement.setAttribute("height", "100%"); } + setTimeout(() => { + document.body.removeChild(img); + }, 0); resolve(blob); }); }),