We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7adb2f commit 32d006fCopy full SHA for 32d006f
src/worker.js
@@ -122,6 +122,9 @@ Worker.prototype.toContainer = function toContainer() {
122
this.prop.container.appendChild(source);
123
this.prop.overlay.appendChild(this.prop.container);
124
document.body.appendChild(this.prop.overlay);
125
+
126
+ // Delay to better ensure content is fully cloned and rendering before capturing.
127
+ return new Promise(resolve => setTimeout(resolve, 10));
128
});
129
};
130
0 commit comments