Uncaught (in promise) RangeError: Maximum call stack size exceeded - 1.0.0-rc.2
See original GitHub issue- Using the latest version
- Testing using the non-minified version of html2canvas and checked any potential issues reported in the console
Bug reports:
Updating to the latest 1.0.0-rc.2 version, DOM elements with a base64 background-image generate a blocking error (the previous 1.0.0-rc.1 didn’t) :
Uncaught (in promise) RangeError: Maximum call stack size exceeded
at Tokenizer.write (html2canvas.js:1019)
at parse (html2canvas.js:4105)
at new CSSParsedDeclaration (html2canvas.js:3998)
at new ElementContainer (html2canvas.js:4138)
at createContainer (html2canvas.js:4485)
at parseNodeTree (html2canvas.js:4438)
at parseTree (html2canvas.js:4490)
at html2canvas.js:6937
at step (html2canvas.js:83)
at Object.next (html2canvas.js:64)
You can test yourself the issue here: https://open-lab.com/storyboarder/test/test.html
At this page, you can also see that the image has an “object-fit: cover” CSS property that is ignored and that if you scroll the page the capture of the image is white.
Specifications:
- html2canvas version tested with: 1.0.0-rc.2
- Browser & version: Chrome 74.0.3729.169
- Operating system: Mac OSX 10.14.5
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >Recursive new Promise: RangeError: Maximum call stack size ...
The possibility of "Maximum call stack size exceeded" can be avoided by forcing the recursive getUser() call to be made asynchronously and the ......
Read more >Uncaught RangeError: Maximum call stack size exceeded
This error is almost always means you have a problem with recursion in JavaScript code, as there isn't any other way in JavaScript...
Read more >RangeError: Maximum call stack size exceeded in JavaScript
The "RangeError: Maximum call stack size exceeded" error occurs when a function is called so many times that the invocations exceed the call...
Read more >maximum call stack size exceeded typescript - You.com
The RangeError: Maximum call stack size exceeded occurs when a function is being called so many times that the invocations exceed the call...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can we get a fix for this on safari?
Still happening on mobile devices