-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Loading a large SVG graph reports an error Cannot read property 'naturalWidth' of null #6070
Comments
The problem is that images do not have a a link to a real image. |
Whether such image can be displayed on canvas after solution |
I'm using fabric 3.6.2 and having similar issue while rendering an image with empty
So the assumption throughout the Image class is that
The solution would be to either set an empty object if I could probably make an PR but I would need to know how would you like me to handle it. |
Sorry for not getting back to this @jsprzybylski the idea is that we should check in all fabric.Image what happen when an element is missing. renderFill should skip if no element is available. |
Version
3.6.0
Test Case
http://jsfiddle.net/fabricjs/Da7SP/
Information about environment
Nodejs or browser?
Which browsers?
Steps to reproduce
Expected Behavior
Actual Behavior
image.zip
The text was updated successfully, but these errors were encountered: