You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My canvas has an event listeners registered creating additional objects, when certain objects are added to the canvas. This causes problems, when I am trying to load objects into the canvas from a JSON object. Some of the objects from the JSON get lost in the process.
Changing the last parameter from true to false solves this issue. I could create a PR, but would appreciate feedback or comments from experienced contributors. Do you see any issues in changing the parameter?
The text was updated successfully, but these errors were encountered:
My canvas has an event listeners registered creating additional objects, when certain objects are added to the canvas. This causes problems, when I am trying to load objects into the canvas from a JSON object. Some of the objects from the JSON get lost in the process.
JS Fiddle here: https://jsfiddle.net/64spd9vx/2/
I have been able to narrow the bug down to this line: https://github.com/kangax/fabric.js/blob/master/dist/fabric.require.js#L5331
Changing the last parameter from
true
tofalse
solves this issue. I could create a PR, but would appreciate feedback or comments from experienced contributors. Do you see any issues in changing the parameter?The text was updated successfully, but these errors were encountered: