tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.21k stars 1.68k forks source link

Printing Blob fails with #416

Open pkasson opened 2 years ago

pkasson commented 2 years ago

Use case: Trying to capture draw flow div ()

Refer to this issue - which demonstrated that this was working for another developer: https://github.com/jerosoler/Drawflow/issues/67

Expected behavior

Div of draw flow should be captured and saved to file and downloaded

Actual behavior (stack traces, console logs etc)

Error thrown:

error: TypeError: Attempted to assign to readonly property. column: 26 line: 261 message: "Attempted to assign to readonly property." sourceURL: "https://localhost/js/dom-to-image.min.js" stack: "clonePseudoElement@https://localhost/js/dom-to-image.min.js:261:26↵@https://localhost/js/dom-to-image.min.js:251:39↵forEach@[native c

Library version

2.6.0

Browsers