-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) RangeError: Maximum call stack size exceeded - 1.0.0-rc.2 #1858
Comments
@niklasvh : Thank you for the fast support! |
Still happening on mobile devices |
@marshallino16 Have you solved the problem yet? |
My workaround was to stop using the image as a background-image of my div and use it in an img tag. To get rid of the ex :
|
Can we get a fix for this on safari? |
edit: the problem still occurs in v1.1.5. for me the issue is resolved by reducing the SLICE_STACK_SIZE from 60000 to 30000 (see https://github.com/niklasvh/html2canvas/blob/master/src/css/syntax/tokenizer.ts#L660). |
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) :
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:
The text was updated successfully, but these errors were encountered: